[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl] Asking for color on ls command.




On Mon, 3 Aug 1998, Adolf Ahmad MS asked how to get RedHat Linux to
respond to the "ls" command with a color display. I don't know whether he
got an answer or not yet (although I have no record of an answer on the
rtl list.)

So please forgive me if this answer is redundant, but for about a year now
I've been dealing with that issue with an "alias" command in my ".bashrc"
file:
        alias ls='ls --color=auto'

Once in a while I encounter linux versions which require the alternate
syntax: alias ls='ls --color=tty'

Otherwise, this alias has worked perfectly for me in that time period.

-hope this helps

Rich B.

--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu