1. Tech

Your suggestion is on its way!

An email with a link to:


was emailed to:

Thanks for sharing About.com with others!

Linux / Unix Command: dircolors
Command Library


dircolors - color setup for ls  


dircolors [OPTION]... [FILE]  


Output commands to set the LS_COLORS environment variable.  

Determine format of output:

-b, --sh, --bourne-shell
output Bourne shell code to set LS_COLORS
-c, --csh, --c-shell
output C shell code to set LS_COLORS
-p, --print-database
output defaults
display this help and exit
output version information and exit

If FILE is specified, read it to determine which colors to use for which file types and extensions. Otherwise, a precompiled database is used. For details on the format of these files, run `dircolors --print-database'.  


The full documentation for dircolors is maintained as a Texinfo manual. If the info and dircolors programs are properly installed at your site, the command
info dircolors

should give you access to the complete manual.

Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

  1. About.com
  2. Tech
  3. Linux

©2015 About.com. All rights reserved.