dircolors
Output commands to set the LS_COLOR environment variable and stylels
,dir
, etc. More information: https://www.gnu.org/software/coreutils/dircolors.
-
Output commands to set LS_COLOR using default colors:
dircolors
-
Output commands to set LS_COLOR using colors from a file:
dircolors {{path/to/file}}
-
Output commands for Bourne shell:
dircolors --bourne-shell
-
Output commands for C shell:
dircolors --c-shell
-
View the default colors for file types and extensions:
dircolors --print-data
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.