[SLE] ls Colors is not making sense
From: Chris Carlen (crcarle_at_sandia.gov)
Date: 09/15/05
- Previous message: babu walad: "Re: [SLE] yast not "seeing" new hd and partitions Suse9.2"
- Next in thread: Lawrence Bowie: "[SLE] IPW2200 driver"
- Reply: Lawrence Bowie: "[SLE] IPW2200 driver"
- Reply: Darryl Gregorash: "Re: [SLE] ls Colors is not making sense"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 15 Sep 2005 09:44:16 -0700 To: suse-linux-e@suse.com
Hi:
Suse 9.1
I have an environment var called LS_COLORS set automatically by Suse
which for a link has ln=00;36 which I take it should be cyan. However
my links show red.
I unset LS_COLORS, then my links show cyan.
I look in the man page and info page for ls, of course they specify that:
--color[=WHEN]
control whether color is used to distinguish file
types. WHEN may be never', always', or auto'
Let's see here:
> alias ls
alias ls='/bin/ls $LS_OPTIONS'
But of course my LS_OPTIONS variable is set to:
> echo $LS_OPTIONS
-N --color=tty -T 0
So what is going on here? Does Suse know what they are doing? Why are
options being used on ls that are inconsistent with the docs?!?! Of
course I don't trust the docs very much considering that they are unable
to organize them and even alphabetize them for that matter. Nor do the
info docs state to what version of the programs they apply to.
At least the man page for ls agrees with the ls --version.
The info pages attempt to be cool by organizing info into little
hyperlinked categories, but only succeed in making it more of a chore to
find what you are looking for. Where does the ls info explain what env
vars affect ls?
What is /etc/DIR_COLORS used for?
Why did my links show red?
Thanks for input.
-- Good day! ________________________________________ Christopher R. Carlen Principal Laser&Electronics Technologist Sandia National Laboratories PO Box 969 MS 9053 Livermore, CA 94550 USA crcarle@sandia.gov (925) 294-1562 (925) 294-1562 [fax] -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: babu walad: "Re: [SLE] yast not "seeing" new hd and partitions Suse9.2"
- Next in thread: Lawrence Bowie: "[SLE] IPW2200 driver"
- Reply: Lawrence Bowie: "[SLE] IPW2200 driver"
- Reply: Darryl Gregorash: "Re: [SLE] ls Colors is not making sense"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]