mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-25 17:35:36 +02:00
dircolors: add page (#2422)
This commit is contained in:
parent
ee09ff9c5a
commit
374c403740
1 changed files with 23 additions and 0 deletions
23
pages/linux/dircolors.md
Normal file
23
pages/linux/dircolors.md
Normal file
|
@ -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`
|
Loading…
Add table
Reference in a new issue