LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

vdir

List directory contents in long format

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 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.

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
Kai