2024-06-13 08:31:25 +02:00
|
|
|
# dircolors
|
|
|
|
|
|
|
|
> Geef commando's weer om de LS_COLOR-omgevingsvariabele in te stellen en style `ls`, `dir` enz.
|
|
|
|
> Meer informatie: <https://www.gnu.org/software/coreutils/dircolors>.
|
|
|
|
|
|
|
|
- Geef commando's weer om LS_COLOR in te stellen met standaardkleuren:
|
|
|
|
|
|
|
|
`dircolors`
|
|
|
|
|
2024-09-21 16:24:35 +02:00
|
|
|
- Toon ieder bestandstype met de kleur zoals deze in `ls` getoond zou worden:
|
|
|
|
|
|
|
|
`dircolors --print-ls-colors`
|
|
|
|
|
2024-06-13 08:31:25 +02:00
|
|
|
- Geef commando's weer om LS_COLOR in te stellen met kleuren uit een bestand:
|
|
|
|
|
|
|
|
`dircolors {{pad/naar/bestand}}`
|
|
|
|
|
|
|
|
- Geef commando's weer voor de Bourne-shell:
|
|
|
|
|
|
|
|
`dircolors --bourne-shell`
|
|
|
|
|
|
|
|
- Geef commando's weer voor de C-shell:
|
|
|
|
|
|
|
|
`dircolors --c-shell`
|
|
|
|
|
|
|
|
- Bekijk de standaardkleuren voor bestandstypen en extensies:
|
|
|
|
|
|
|
|
`dircolors --print-data`
|