Re: RH 3.0.3 and color-ls ... how?

Nils Faerber (
Wed, 13 Nov 1996 12:20:11 +0100 (MET)


> I just installed RH4.0 on my UDB, and inserted the eval `dircolors
> /etc/DIR_COLORS` to the end of /etc/profile, and rebooted the machine.
> It seeme not to work for me. :-(
Have a look at 'man ls'. The installed ls from RH 4.0 ist GNU ls which seems
to have color options.
Set an alias for ls like
alias ls='ls --color=tty'
A '--color' would work too but would also pass the color escape codes to a
pipe. With --color=tty colorization is only done when the output is a tty.

> Mihaly

Nils Faerber (Linux Nils)        eMail:
Student of computer science
Unix user group, University of Siegen, Germany

Siegen ... the arctic rain forest!


To unsubscribe: send e-mail to with
'unsubscribe' as the subject.  Do not send it to

Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices