mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-12 06:58:54 +00:00
Update cheatsheets
This commit is contained in:
29
dircolors
Normal file
29
dircolors
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# dircolors
|
||||
|
||||
> Output commands to set the LS_COLOR environment variable and style `ls`, `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`
|
||||
Reference in New Issue
Block a user