VDIR(1)

πŸ‘‘ VDIR(1) β€” the manual page, but make it a group chat πŸ’…

okay bestie, welcome to VDIR, section 1 of the General Commands Manual 🫢 this is the page for when you literally just want a listing of a directory and you're not in the mood for dotfiles ruining the vibe. let's get into it ✨


🌸 NAME 🌸

vdir β€” List directory contents. Ignore files and directories starting with a '.' by default.

also, real talk, mandatory arguments to long options are mandatory for short options too. that's not a suggestion, that's the law πŸ’€


πŸ¦‹ SYNOPSIS πŸ¦‹

vdir [OPTION]... [FILE]...

that's it. that's the whole shape of it. options in, files in, listing out πŸŽ€


✨ DESCRIPTION ✨

List directory contents. Ignore files and directories starting with a '.' by default.

and one more time for the people in the back: mandatory arguments to long options are mandatory for short options too. ⭐


πŸ’– OPTIONS πŸ’–

okay this is the big one. there are SO many flags and honestly every single one is here, no skipping, i would never do that to you.

  • --help β€” Print help information.
  • --format β€” Set the display format.
  • -C β€” Display the files in columns.
  • -l, --long β€” Display detailed information.
  • -x β€” List entries in rows instead of in columns.
  • -T, --tabsize <COLS> β€” Assume tab stops at each COLS instead of 8.
  • -m β€” List entries separated by commas.
  • --zero β€” List entries separated by ASCII NUL characters.
  • -D, --dired β€” generate output designed for Emacs' dired (Directory Editor) mode
  • --hyperlink[=<WHEN>] [default: never] β€” hyperlink file names WHEN. Possible values:
    • always
    • auto
    • never
  • -1 β€” List one file per line.
  • -o β€” Long format without group information. Identical to --format=long with --no-group.
  • -g β€” Long format without owner information.
  • -n, --numeric-uid-gid β€” -l with numeric UIDs and GIDs.
  • --quoting-style β€” Set quoting style. Possible values:
    • literal
    • locale
    • shell
    • shell-escape
    • shell-always
    • shell-escape-always
    • clocale
    • c
    • escape
  • -N, --literal β€” Use literal quoting style. Equivalent to --quoting-style=literal
  • -b, --escape β€” Use escape quoting style. Equivalent to --quoting-style=escape
  • -Q, --quote-name β€” Use C quoting style. Equivalent to --quoting-style=c
  • -q, --hide-control-chars β€” Replace control characters with '?' if they are not escaped.
  • --show-control-chars β€” Show control characters 'as is' if they are not escaped.
  • --time <field> β€” Show time in <field>: access time (-u): atime, access, use; change time (-t): ctime, status. modification time: mtime, modification. birth time: birth, creation;
  • -c β€” If the long listing format (e.g., -l, -o) is being used, print the status change time (the 'ctime' in the inode) instead of the modification time. When explicitly sorting by time (--sort=time or -t) or when not using a long listing format, sort according to the status change time.
  • -u β€” If the long listing format (e.g., -l, -o) is being used, print the status access time instead of the modification time. When explicitly sorting by time (--sort=time or -t) or when not using a long listing format, sort according to the access time.
  • --hide <PATTERN> β€” do not list implied entries matching shell PATTERN (overridden by -a or -A)
  • -I, --ignore <PATTERN> β€” do not list implied entries matching shell PATTERN
  • -B, --ignore-backups β€” Ignore entries which end with ~.
  • --sort <field> β€” Sort by <field>: name, none (-U), time (-t), size (-S), extension (-X) or width. Possible values:
    • name
    • none
    • time
    • size
    • version
    • extension
    • width
  • -S β€” Sort by file size, largest first.
  • -t β€” Sort by modification time (the 'mtime' in the inode), newest first.
  • -v β€” Natural sort of (version) numbers in the filenames.
  • -X β€” Sort alphabetically by entry extension.
  • -U β€” Do not sort; list the files in whatever order they are stored in the directory. This is especially useful when listing very large directories, since not doing any sorting can be noticeably faster.
  • -L, --dereference β€” When showing file information for a symbolic link, show information for the file the link references rather than the link itself.
  • --dereference-command-line-symlink-to-dir β€” Do not follow symlinks except when they link to directories and are given as command line arguments.
  • -H, --dereference-command-line β€” Do not follow symlinks except when given as command line arguments.
  • -G, --no-group β€” Do not show group in long format.
  • --author β€” Show author in long format. On the supported platforms, the author always matches the file owner.
  • -a, --all β€” Do not ignore hidden files (files with names that start with '.').
  • -A, --almost-all β€” In a directory, do not ignore all file names that start with '.', only ignore '.' and '..'.
  • -f β€” List all files in directory order, unsorted. Equivalent to -aU. Disables --color unless explicitly specified.
  • -d, --directory β€” Only list the names of directories, rather than listing directory contents. This will not follow symbolic links unless one of --dereference-command-line (-H), --dereference (-L), or --dereference-command-line-symlink-to-dir is specified.
  • -h, --human-readable β€” Print human readable file sizes (e.g. 1K 234M 56G).
  • -k, --kibibytes β€” default to 1024-byte blocks for file system usage; used only with -s and per directory totals
  • --si β€” Print human readable file sizes using powers of 1000 instead of 1024.
  • --block-size <BLOCK_SIZE> β€” scale sizes by BLOCK_SIZE when printing them
  • -i, --inode β€” print the index number of each file
  • -r, --reverse β€” Reverse whatever the sorting method is e.g., list files in reverse alphabetical order, youngest first, smallest first, or whatever.
  • -R, --recursive β€” List the contents of all directories recursively.
  • -w, --width <COLS> β€” Assume that the terminal is COLS columns wide.
  • -s, --size β€” print the allocated size of each file, in blocks
  • --color β€” Color output based on file type. Possible values:
    • always
    • auto
    • never
  • --indicator-style β€” Append indicator with style WORD to entry names: none (default), slash (-p), file-type (--file-type), classify (-F). Possible values:
    • none
    • slash
    • file-type
    • classify
  • -F, --classify[=<when>] β€” Append a character to each file name indicating the file type. Also, for regular files that are executable, append '*'. The file type indicators are '/' for directories, '@' for symbolic links, '|' for FIFOs, '=' for sockets, '>' for doors, and nothing for regular files. when may be omitted, or one of:
    • none - Do not classify. This is the default.
    • auto - Only classify if standard output is a terminal.
    • always - Always classify.

Specifying --classify and no when is equivalent to --classify=always. This will not follow symbolic links listed on the command line unless the --dereference-command-line (-H), --dereference (-L), or --dereference-command-line-symlink-to-dir options are specified.

Possible values:

  • always
  • auto
  • never
  • --file-type β€” Same as --classify, but do not append '*'
  • -p β€” Append / indicator to directories.
  • --time-style <TIME_STYLE> β€” time/date format with -l; see TIME_STYLE below
  • --full-time β€” like -l --time-style=full-iso
  • -Z, --context β€” print any security context of each file
  • --group-directories-first β€” group directories before files; can be augmented with a --sort option, but any use of --sort=none (-U) disables grouping
  • -V, --version β€” Print version

⭐ EXTRA ⭐

The TIME_STYLE argument can be full-iso, long-iso, iso, locale or +FORMAT. FORMAT is interpreted like in date. Also the TIME_STYLE environment variable sets the default style to use. πŸ•


πŸ’œ VERSION πŸ’œ

v(uutils coreutils) 0.12.0


🌈 EXAMPLES 🌈

View documentation for the original command:

tldr ls

The examples are provided by the tldr-pages project https://tldr.sh under the CC BY 4.0 License. Please note that, as uutils is a work in progress, some examples might fail. πŸ₯²

no cap bestie: it literally says a work in progress, so if an example flops, that's a known thing, not a you problem 🫢

okay that's the whole page, every flag, every value, every default, all of it, i would never gatekeep πŸ’… go forth and list some directories, main character πŸ‘‘

sign-off time: this lovely thing is dated 2026-09-25 and it's from the uutils coreutils era, tagged v(uutils coreutils) 0.12.0 β€” and yes, it's still VDIR(1), iconic behavior, periodt πŸŽ€

πŸ“¦ where this page comes from