dircolors
Output commands to set the LS_COLOR environment variable and style ls, dir, etc. More information: <https://www.gnu.org/software/coreutils/dircolors>.
Install
- All systems
-
curl cmd.cat/dircolors.sh
- Debian
-
apt-get install coreutils - Ubuntu
-
apt-get install coreutils -
Alpine
-
apk add coreutils - Arch Linux
-
pacman -S coreutils - Kali Linux
-
apt-get install coreutils - CentOS
-
yum install coreutils - Fedora
-
dnf install coreutils - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install coreutils - OS X
-
brew install coreutils - Raspbian
-
apt-get install coreutils - Docker
-
docker run cmd.cat/dircolors dircolorspowered by Commando
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
© tl;dr; authors and contributors