ARCHIVE January, 2010

Make your linux prompt more colorful

March 8, 2009

Changing the color of your linux prompt is a quite easy thing. Different prompt colors may be useful to distinguish different machines more easy, or just for fun.

export PS1=’\e[0;32m\u\e[0;32m@\h:\e[0;0m\w\e[0;0m$\e[0m ‘

Just put the lines above in your /etc/profile and in the ~/.bashrc

Advertisement:
Home | Imprint | Impressum | Archiv
© 2009 M.Sc. Dipl.Inf. Michael Kolb. Powered by Wordpress. HTML CSS
my technorati | my blogcatalog