Coloring the list and tree command outputs (GNU)

Customizing Colors (GNU)

The format is as follows: LS_COLORS="di=01;90:ow=01;90"

The LS_COLORS environment variable is a colon : separated list of key=colour pairs. There are 2 types of key: file types and file extensions.

key effect color meaning
di 01 90 color all dirs dark grey and make it bold
ow 01 90 color all other_writable (o+w) dirs dark grey and make it bold