vdir

List directory contents. Drop-in replacement for ls -l. More information: <https://www.gnu.org/software/coreutils/vdir>.

Install

All systems
curl cmd.cat/vdir.sh
Debian Debian
apt-get install coreutils
Ubuntu
apt-get install coreutils
Alpine
apk add coreutils
Arch Arch Linux
pacman -S coreutils
image/svg+xml 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
Docker
docker run cmd.cat/vdir vdir powered by Commando

List directory contents. Drop-in replacement for ls -l. More information: <https://www.gnu.org/software/coreutils/vdir>.

  • List files and directories in the current directory, one per line, with details:
    vdir
  • List with sizes displayed in human-readable units (KB, MB, GB):
    vdir -h
  • List including hidden files (starting with a dot):
    vdir -a
  • List files and directories sorting entries by size (largest first):
    vdir -S
  • List files and directories sorting entries by modification time (newest first):
    vdir -t
  • List grouping directories first:
    vdir --group-directories-first
  • Recursively list all files and directories in a specific directory:
    vdir --recursive path/to/directory

© tl;dr; authors and contributors