Share your knowledge at the LQ Wiki.
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 10-15-2003, 07:48 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
ls color codes

I've been trying to figure out the color code for the ls command. i know that blue is a directory, and green is a regular file... but there are so many other colors and highlighting and symbols (@,*) i looked in the info and man pages, but found no explanation, is it in there or is there a site that explains it?

Old 10-15-2003, 11:03 PM   #2
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
ll -aF directory will be blue & marked with a "/"
executables will green marked with a "*"
files wlll be white
files starting with "." are hidden

use the man command its man grep...ect.

its a manual
Old 10-16-2003, 07:01 PM   #3
Registered: Jul 2003
Location: Santiago de Chile
Distribution: Debian testing/unstable
Posts: 74

Rep: Reputation: 15
exists a "man man" too
Old 03-20-2012, 02:41 PM   #4
LQ Newbie
Registered: Sep 2009
Posts: 2

Rep: Reputation: 8
ls colors

Here is a little explanation of ls color codes:

Also in info ls:

'dircolors': Color setup for 'ls'

'dircolors' outputs a sequence of shell commands to set up the terminal for color output from 'ls'


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
Are the hex codes for colors in a jpg the same codes as used in html? abefroman Linux - Security 3 07-31-2005 03:21 PM
[COLOR=red]ENCORE WIRELESS PCI Card 802.11b [/COLOR] enrique145 Linux - Hardware 3 07-07-2004 02:31 PM
bsetroot -gradient texture -from color -to color patpawlowski Linux - General 3 02-10-2004 01:51 PM
Shell Color Codes justmoon Linux - General 18 03-16-2003 01:22 PM
[COLOR=seagreen]HELP-want to use Kickstart/rh7.2 on a notebook[/COLOR] verbali Linux - Newbie 1 05-13-2002 01:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:41 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
Open Source Consulting | Domain Registration