Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-20-2004, 04:03 AM   #1
LQ Newbie
Registered: Aug 2004
Posts: 8

Rep: Reputation: 0
What do the colors in "ls" mean

I haven't been able to find out what the different colors of ls mean. I figured out that darkblue is for folders but not the red, yellow, cyan teal etc. Also, I've looked in the man pages, the info pages, searched the forums, got a few books from the library to no avail.

Thanks in advance!
Old 11-20-2004, 04:34 AM   #2
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
Colors got different meaning.

Here is list (From my OpenBSD and BASH Shell)

Blue - Directory

Green - Executable binary file or script (shell/python etc)
Bright Green : for all following extenstions:

Red :archives or compressed

Cyan : symbolic link

Magenta : image formats

Normal Green : sound formats

Yellow : pipe (FIFO)

Magenta : socket


How did i got this info?

Simple i use it in day today life from that and from file called /etc/DIR_COLORS .
You can also customized colors in /etc/DIR_COLORS or ~/.dir_colors file


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 12:26 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 04:07 PM
Mac OS "Colors" feature on Linux? gsandiford Linux - General 3 08-04-2005 11:41 AM
Mac OS "Colors" feature on Linux? gsandiford Linux - Newbie 1 07-07-2005 04:27 AM
konsole colors lost when "su" murray_linux Slackware 11 12-10-2004 10:22 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:37 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration