Login to your Linux Box and give the below command in your shell.
export PS1="\[$(tput setaf 3)\]\u@\h:\w # \[$(tput sgr0)\]"
Various color codes for the tput command
Color {code} Color
0 Black
1 Red
2 Green
3 Yellow
4 Blue
5 Magenta
6 Cyan
7 White
Enjoy
No comments:
Post a Comment