LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-20-2004, 03:03 AM   #1
rml54321
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, 03:34 AM   #2
nixcraft
Member
 
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:
.cmd
.exe
.com
.bat
.btm
.dll

Red :archives or compressed

Cyan : symbolic link

Magenta : image formats

Normal Green : sound formats

Yellow : pipe (FIFO)

Magenta : socket

ah?

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
 
  


Reply



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 11:26 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
Mac OS "Colors" feature on Linux? gsandiford Linux - General 3 08-04-2005 10:41 AM
Mac OS "Colors" feature on Linux? gsandiford Linux - Newbie 1 07-07-2005 03:27 AM
konsole colors lost when "su" murray_linux Slackware 11 12-10-2004 09:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:01 AM.

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