For When You Can't Have The Real Thing
[ start | index | login ]
start > ls colors

ls colors

Created by dave. Last edited by dave, 19 years and 330 days ago. Viewed 3,091 times. #1
[edit] [rdf]
labels
attachments
As you are probably aware, the root terminals in our linux systems generally have awfully dark colors for directory names. This makes it hard to read them on the black-backgrounded terminals some of us prefer.

There are two things you can do to improve this:

First, you can make the dark colors bright, by adding this to your (root's) .bash_profile:

if [ `uname` = 'Linux' ] ; then
    eval `dircolors --sh /etc/DIR_COLORS`
fi
...or alternatively, you can just get rid of the colors entirely with
unalias ls
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt