1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/vdir.md
K.B.Dharun Krishna 898f711019
pages/*: update GNU coreutils links, sync translation pages (#15543)
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2025-01-18 18:45:33 +05:30

33 lines
764 B
Markdown

# vdir
> List directory contents.
> Drop-in replacement for `ls -l`.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/vdir-invocation.html>.
- List files and directories in the current directory, one per line, with details:
`vdir`
- List with sizes displayed in human-readable units (KB, MB, GB):
`vdir -h`
- List including hidden files (starting with a dot):
`vdir -a`
- List files and directories sorting entries by size (largest first):
`vdir -S`
- List files and directories sorting entries by modification time (newest first):
`vdir -t`
- List grouping directories first:
`vdir --group-directories-first`
- Recursively list all files and directories in a specific directory:
`vdir --recursive {{path/to/directory}}`