[PLUG] dircolors stored where?

Matt Alexander m at netpro.to
Wed Sep 11 18:57:48 UTC 2002


On Wed, 11 Sep 2002, Matt Alexander wrote:

> On 11 Sep 2002, Karl M. Hegbloom wrote:
>
> > On Wed, 2002-09-11 at 10:34, Matt Alexander wrote:
> > > On Wed, 2002-09-11 at 09:58, Rich Shepard wrote:
> > > >   Where is the text database shown when 'dircolors --print-database' is
> > > > invoked? I need to change a color when directory listings are presented and
> > > > I cannot seem to find the location of the database. It's not 'rgb' and the
> > > > man page isn't helpful in this regard.
> > >
> > > On RedHat, I believe it's in /etc/DIR_COLORS
> >
> > Does the Red Hat version of "dircolors" read that automaticly, or is it
> > pulled in by one of the shell startup files?
>
> RedHat will read /etc/DIR_COLORS with each new shell that is opened.

Specifically...  $HOME/.bashrc reads /etc/bashrc which reads
/etc/profile.d/colorls.sh which runs dircolors on /etc/DIR_COLORS





More information about the PLUG mailing list