What do the ‘ls’ colors mean in BASH?
Ever wonder what all the default colors outputed by ls in BASH mean? These are some of the common default ones:
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)
Ganked from: http://www.cyberciti.biz/tips/where-is-color-of-ls-command-defined.html
More help said,
May 1, 2013 at 2:08 am
Hey! Do you use Twitter? I’d like to follow you if that would be ok. I’m definitely
enjoying your blog and look forward to new updates.