Robota Softwarehouse B.V.
  Home Company Products Projects Developers Contact Search  

Changing linux shell colors

Working remote on several computers is common practice these days. We are using ssh and vim a lot and got annoyed by the colors of the shell directory listings. Many distributions use a dark blue color for the text on a black background, almost unreadable but for sure not a pleasure.

Changing this is very easy, just add the following line (make sure it's on one line if your browser breaks it) to the .bashrc file in your home directory.

export LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jpg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:"

and you will be presented well readable colors.

Tags

General conditions (pdf) - Algemene voorwaarden (pdf) - Algemene voorwaarden (html)
Copyright 2005 Robota Softwarehouse B.V.. All rights reserved.

Robota Softwarehouse B.V. - Weth. Driessenstr. 71 - 1107XH - Amsterdam - The Netherlands - KvK 53227115
Email: info@robota.nl - Website: http://www.robota.nl - Telephone: +31203631747 - Tailor-made software since 1990