PS1 variable
Just what is the PS1 shell variable and what does it do? I know when I modify it the command prompt changes, but I'm not sure.
|
PS1 stands for "prompt string 1" and defines the primary prompt string.
Kind regards |
If you don't know what a prompt string is, it is usually a $ or bash-4.1$, see:
http://www.grymoire.com/Unix/Sh.html#uh-22 |
Okay, thank you. How come the variable doesn't end up in the env or export listings then?
|
It is in 'set', which shows more than those.
|
All times are GMT -5. The time now is 01:02 PM. |