Results 1 to 7 of 7
Hi guys,
Gonna ask a real stupid question here, but being a newbie I'm allowed
If I open up a terminal and do an ls I get an indication what ...
- 04-07-2005 #1Just Joined!
- Join Date
- Mar 2005
- Posts
- 41
ls colours
Hi guys,
Gonna ask a real stupid question here, but being a newbie I'm allowed
If I open up a terminal and do an ls I get an indication what is in that directory. Now some of text is coloured. What does this mean?
I know blue is a directory but what does green mean?
I ask about green specifically as I unbz2'd a file and it came out as green with an asterix at the end??? So what does the colour mean and why did it have an asterix at then?
Thanks for illumination.
BTW - I hunted around the net but didnt come across anything that told me about this.
- 04-07-2005 #2Linux Engineer
- Join Date
- Mar 2005
- Posts
- 1,431
I think the green colour is for the executable files.
- 04-07-2005 #3Just Joined!
- Join Date
- Aug 2004
- Location
- Ontario, Canada
- Posts
- 89
Correct, executables are green
- 04-07-2005 #4Linux User
- Join Date
- Oct 2004
- Location
- Serbia&Montenegro
- Posts
- 281
Yes, green. Directories are blue and pictures are purple or red.
Linux registered user #358842
Human knowledge belongs to the world.
- 04-07-2005 #5Just Joined!
- Join Date
- Apr 2005
- Location
- Canada
- Posts
- 14
Executable files: Green
* Normal file : Normal
* Directory: Blue
* Symbolic link : Cyan
* Pipe: Yellow
* Socket: Magenta
* Block device driver: Bold yellow foreground, with black background
* Character device driver: Bold yellow foreground, with black background
* Orphaned syminks : Blinking Bold white with red background
* Missing links ( … and the files they point to) : Blinking Bold white with red background
* Archives or compressed : Red (.tar, .gz, .zip, .rpm)
* Image files : Magenta (.jpg, gif, bmp, png, tif)
Try that
- 04-07-2005 #6Linux Engineer
- Join Date
- Nov 2004
- Location
- Ft. Polk, LA
- Posts
- 796
All of the colors can be changed with the $LSCOLORS variable. See the ls man page.
- 04-08-2005 #7Just Joined!
- Join Date
- Mar 2005
- Posts
- 41
Thanks guys...



