LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

vdir

List directory contents in long format

TLDR

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

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
copy
sudo dnf install coreutils
copy
sudo pacman -S coreutils
copy
sudo apk add coreutils
copy
sudo zypper install coreutils
copy
brew install coreutils
copy
nix profile install nixpkgs#coreutils
copy

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)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid