From 374c403740b832b26fe5465b24e55dad17461463 Mon Sep 17 00:00:00 2001 From: Matthew Peveler Date: Fri, 12 Oct 2018 05:41:07 -0400 Subject: [PATCH] dircolors: add page (#2422) --- pages/linux/dircolors.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/linux/dircolors.md diff --git a/pages/linux/dircolors.md b/pages/linux/dircolors.md new file mode 100644 index 0000000000..2f48d073c8 --- /dev/null +++ b/pages/linux/dircolors.md @@ -0,0 +1,23 @@ +# dircolors + +> Output commands to set the LS_COLOR environment variable and style `ls`, `dir`, etc. + +- Output commands to set LS_COLOR using default colors: + +`dircolors` + +- Output commands to set LS_COLOR using colors from a file: + +`dircolors {{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`