suid, sgid, sticky bit

December 15, 2010 at 12:38 pm (Uncategorized) (, , )

Great quick reference article on suid, sguid and sticky bit.

http://www.zzee.com/solutions/linux-permissions.shtml

Permalink Leave a Comment

What do the ‘ls’ colors mean in BASH?

December 15, 2010 at 12:27 pm (Uncategorized) (, )

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

Permalink 1 Comment