จาก Wiki2
Table 14-1. Color-Coding Within GNOME Terminal
Color Type of File
Black text Standard file
Light-blue text Directory
Black outline with yellow text Virtual device1
Green text Program or script2
Cyan text Symbolic link to another file3
Pink text Image file
Red text Archive4
Table 14-2. File Type Codes
Code File Type
- Standard file
d Standard directory
l Symbolic link (a shortcut to another file)
p Named pipe (a file that acts as a conduit for data between two programs)
s Socket (a file designed to send and receive data over a network)
c Character device (a hardware device driver, usually found in /dev)
b Block device (a hardware device driver, usually found in /dev)