dir
List directory contents using one line per file, special characters are represented by backslash escape sequences. Works as ls -C --escape. More information: <https://manned.org/dir>.
Install
- All systems
-
curl cmd.cat/dir.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 update
sudo apt-get install coreutils
- OS X
-
brew install coreutils
- Raspbian
-
apt-get install coreutils
- Dockerfile
- dockerfile.run/dir
- Docker
-
docker run cmd.cat/dir dir
powered by Commando
List directory contents using one line per file, special characters are represented by backslash escape sequences. Works as ls -C --escape. More information: <https://manned.org/dir>.
-
List all files, including hidden files:
dir -all
-
List files including their author (`-l` is required):
dir -l --author
-
List files excluding those that match a specified blob pattern:
dir --hide=pattern
-
List subdirectories recursively:
dir --recursive
-
Display help:
dir --help
© tl;dr; authors and contributors