How to Change BASH Prompt Color code example Example: How to Change BASH Prompt Color PS1="\[\033[42m\]\[\033[31m\]\u@\h:\w\$ "