In Ubuntu, ls is aliased to "ls --color=auto" (you can see this for yourself by doing "type ls") So the colour behaviour is up to how the ls binary reacts to that option, I suppose. Take a look at "man ls", but I find it strange that the colours are different in the long listing.
David On 4/21/07, david <[EMAIL PROTECTED]> wrote:
Can anyone tell me where the color coding for the ls command in Ubuntu is stored and defined? For example, I've got a directory with black lettering and a green background, but only for $ ls -l foo/ not for $ ls foo/ Most of these codes are obvious, but this one has me baffled and I would like to know where they are defined. (I suspect it has to do with being world writeable). Thanks... David. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
