Skip to content

Commit

Permalink
dircolors: add page (#2422)
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterOdin authored and owenvoke committed Oct 12, 2018
1 parent ee09ff9 commit 374c403
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions pages/linux/dircolors.md
Original file line number Diff line number Diff line change
@@ -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`

0 comments on commit 374c403

Please sign in to comment.