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

Nils Faerber (nils@unix-ag.uni-siegen.de)
Wed, 13 Nov 1996 12:20:11 +0100 (MET)

Hallo!

> 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
CU
nils

-- 
Nils Faerber (Linux Nils)        eMail: nils@vespa.unix-ag.uni-siegen.de
Student of computer science      http://www.unix-ag.uni-siegen.de/~nils/
Unix user group, University of Siegen, Germany

Siegen ... the arctic rain forest!

--

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



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

Copyright © 1995-1997 Red Hat Software. Legal notices