LinuxCommandLibrary

vdir

TLDR

List directory

$ vdir
copy
Long format with details
$ vdir
copy
Include hidden
$ vdir -a
copy
Human readable sizes
$ vdir -h
copy
Sort by time
$ vdir -t
copy

SYNOPSIS

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

DESCRIPTION

vdir lists directory contents. It's like ls -l.
Verbose listing. Long format default.
Same as ls -l. Detailed output.
GNU coreutils. Standard tool.
Column output. File details.

PARAMETERS

-a

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

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)

Copied to clipboard