vdir command verbosely lists directory contents. Equivalent to ls -lb. By default, list the current directory. Directory entries are sorted alphabetically unless overridden by an option. vdir takes the same options as ls.
Syntax
Syntax of the vdir command is:
$ vdir [options] [files]
If you encounter below error:
vdir: command not found
you may install the below package, according to your choice of distribution.
Distribution | Command |
---|---|
OS X | brew install coreutils |
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 |
Raspbian | apt-get install coreutils |
Docker | docker run cmd.cat/vdir vdir |