I hate to bother you pros with such an easy question, but I can't figure out how to do this.  I'm trying to get the ls command to work automatically with the color option.  According to page 110 of the February issue of Linux Magazine, all you have to do is add this line to .bashrc:

alias ls = ls -a -color

It doesn't work.  I've tried different variations of this and they don't work.  I've got RedHat 6.1, and I've discovered that to temporarily get ls to work in color I have to put two dashes in front of "color"; like this:  ls --color.  But this doesn't work in .bashrc if I use it in the way suggested by Linux  Magazine.  So can one of you please tell me the right way to do it?

Thank you.

Bob

-- 
Robert G. Scofield
[EMAIL PROTECTED]
 


Reply via email to