June 2003
Beginner to intermediate
944 pages
43h 1m
English
dircolors
dircolors [options] [file]Set the color options for ls by changing the LS_COLORS environment variable. If you specify a file, dircolors will read it to determine which colors to use. Otherwise, it will use a default set of colors.
The program takes three options in addition to the standard --help and --version flags:
Display the default colors. You can copy this information into a file and change it to suit your preferences, and then run the program with the file as its argument to set the colors to your new values.
Use csh (C shell) syntax when setting the LS_COLORS variable.
Use the Bourne shell syntax when setting the LS_COLORS variable.
Read now
Unlock full access