Linux terminal prompt
- Controlled by value of $PS1 environment variable.
- e.g. #export PS1="[\\u@\\H@\\A \\w]\\$"
[root@hostname@20:13 lib]#
- with yellow color #export PS1='\[\033[1;33m\][\u@\h] \t \w\$\[\033[0m\] '
[root@SLT01MGT00MEL01-PRD] 20:19:56 /var/lib#
- e.g. #export PS1="[\\u@\\H@\\A \\w]\\$"
...