Title: Bash prompt tips and tricks Date: 2017-07-07 17:42:04 Categories: [cli] tags: [bash]
The Bash prompt is set by the environment variable PS1 (Prompt String 1), which is used for interactive shell prompts. There is also a PS2 variable, which is used when more input is required to complete a Bash command.