vdir

List directory contents in long format

TLDR

List directory contents in long format
$ vdir
Include hidden files
$ vdir -a
Human readable sizes
$ vdir -h
Sort by modification time, newest first
$ vdir -t
Reverse the sort order
$ vdir -r

SYNOPSIS

vdir [-a] [-h] [-t] [options] [files]

DESCRIPTION

vdir lists directory contents in long format by default, equivalent to running ls -l. It displays file permissions, owner, group, size, modification time, and name for each entry.The command is part of GNU coreutils and accepts the same options as ls. It exists as a convenience for users who prefer verbose directory listings without having to specify the -l flag.

PARAMETERS

-a

Include hidden.
-h
Human readable.
-t
Sort by time.
-r
Reverse order.
-S
Sort by size.

INSTALL

sudo apt install coreutils
sudo dnf install coreutils
sudo pacman -S coreutils
sudo apk add coreutils
sudo zypper install coreutils
brew install coreutils
nix profile install nixpkgs#coreutils

CAVEATS

Equivalent to ls -l. GNU specific. Use ls for portability.

HISTORY

vdir is part of GNU coreutils, equivalent to ls with long listing format by default.

SEE ALSO

ls(1), dir(1), exa(1)