A more expressive Bash prompt
Bash provides some interesting built-in specifiers for the prompt strings PS1. Some of them are static, like ‘a’ for ‘alert’ (Ctrl-G, the bell, beep, or visible flash), or ‘n’ or r’ for newline or carriage return. Some specifiers are set during Bash’s startup, like ‘h’ for the hostname, or ‘u’ for the username; these don’t change during any particular shell session. Some are more dynamic,
|
|
Full Story |
This topic does not have any threads posted yet!
You cannot post until you login.