Change ‘ls’ directory colors

Author: nxor
Author Contact:

This is a tutorial from
(If you use this on your site, please do not edit anything, including this information at the top.)

Change ‘ls’ directory colors
ÊMon, Mar 17 ’03 at 08:46AM ¥ from: nxor
If you run with a black background and a color ‘ls’ command, directories (in bold blue) can be hard to see. You can change the color of directories with an export LS_COLORS command. For example, to make all directories yellow, add this to “.bash_profile” in your home directory:

export LS_COLORS=’di=01;33′
Other good colors for directories are bold white (01;37) and bold purple (01;35). You can find a complete table of ANSI colors in many places; The Linux Documentation Project’s list is one such place.

Article from Knowledge Base:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: