Bash Shell: Take Control of PS1, PS2, PS3, PS4 and PROMPT_COMMAND
Your interaction with Linux Bash shell will become very pleasant, if you use PS1, PS2, PS3, PS4, and PROMPT_COMMAND effectively. PS stands for prompt state ... I like having this in my .bashrc: PS1=’\[\e[32m\]\t \h:\W \$ \[...