Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-06-2003, 03:22 PM   #1
Registered: Oct 2003
Posts: 280

Rep: Reputation: 30
ls --color 'color change'


how can I change the color for ls --color.
the dir blue is too dark for the black background
or what display most of you have out there?

Old 10-06-2003, 04:47 PM   #2
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
Take a look at /etc/DIR_COLORS

It defines what items in an ls come out what colour. As far as I can tell, you can't change what 'shade' of a colour a colour comes out at, but you can change, for instance wether a directory comes out in (dark) blue, or cyan.

If you're using an ssh client to view the colours you can usually change that within a setting on the client (in putty it's within the 'appearance' settings, and within's ssh client it's a global.dat setting in a /<user>/preferences directory, or some suchlike.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Color Depth, True Color, How to pacranch Amigo 2 04-09-2005 06:16 AM
change color vito_huang Linux - General 1 11-13-2004 02:21 PM
[COLOR=red]ENCORE WIRELESS PCI Card 802.11b [/COLOR] enrique145 Linux - Hardware 3 07-07-2004 03:31 PM
bsetroot -gradient texture -from color -to color patpawlowski Linux - General 3 02-10-2004 02:51 PM
[COLOR=seagreen]HELP-want to use Kickstart/rh7.2 on a notebook[/COLOR] verbali Linux - Newbie 1 05-13-2002 02:59 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration