Color LInux Prompt
vi ~/.bashrc
To color it red change PS1 to:
export PS1=’\[\e[1;31m\][\u@\h \W]\$\[\e[0m\] ‘
After that you need to save it and reload it with:
source ~/.bashrc
vi ~/.bashrc
To color it red change PS1 to:
export PS1=’\[\e[1;31m\][\u@\h \W]\$\[\e[0m\] ‘
After that you need to save it and reload it with:
source ~/.bashrc