Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Filesystem

basename

https://www.gnu.org/software/coreutils/manual/coreutils.html#basename-invocation

  • Allowed standalone flags: –help, –multiple, –version, –zero, -V, -a, -h, -z
  • Allowed valued flags: –suffix, -s
  • Bare invocation allowed

bat

https://github.com/sharkdp/bat#readme

  • Allowed standalone flags: –diff, –help, –list-languages, –list-themes, –no-config, –number, –plain, –show-all, –version, -A, -P, -V, -d, -h, -n, -p, -u
  • Allowed valued flags: –color, –decorations, –diff-context, –file-name, –highlight-line, –italic-text, –language, –line-range, –map-syntax, –paging, –style, –tabs, –terminal-width, –theme, –wrap, -H, -l, -m, -r
  • Bare invocation allowed

cd

https://man7.org/linux/man-pages/man1/cd.1p.html

  • Allowed standalone flags: –help, –version, -L, -P, -V, -e, -h
  • Bare invocation allowed

cmp

https://man7.org/linux/man-pages/man1/cmp.1.html

  • Allowed standalone flags: –help, –print-bytes, –quiet, –silent, –verbose, –version, -V, -b, -h, -l, -s
  • Allowed valued flags: –bytes, –ignore-initial, -i, -n

colordiff

https://www.colordiff.org/

  • Allowed standalone flags: –brief, –ed, –expand-tabs, –help, –initial-tab, –left-column, –minimal, –normal, –paginate, –rcs, –report-identical-files, –side-by-side, –speed-large-files, –strip-trailing-cr, –suppress-blank-empty, –suppress-common-lines, –text, –version, -B, -E, -N, -P, -T, -V, -Z, -a, -b, -c, -d, -e, -f, -h, -i, -l, -n, -p, -q, -r, -s, -t, -u, -v, -w, -y
  • Allowed valued flags: –changed-group-format, –color, –context, –from-file, –horizon-lines, –ifdef, –ignore-matching-lines, –label, –line-format, –new-group-format, –new-line-format, –old-group-format, –old-line-format, –show-function-line, –starting-file, –tabsize, –to-file, –unchanged-group-format, –unchanged-line-format, –unified, –width, -C, -D, -F, -I, -L, -S, -U, -W

date

https://www.gnu.org/software/coreutils/manual/coreutils.html#date-invocation

  • Allowed standalone flags: –help, –rfc-2822, –rfc-email, –universal, –utc, –version, -R, -V, -h, -j, -n, -u
  • Allowed valued flags: –date, –iso-8601, –reference, –rfc-3339, -I, -d, -f, -r, -v, -z
  • Bare invocation allowed

delta

https://dandavison.github.io/delta/

  • Allowed standalone flags: –blame-code-style, –blame-palette, –color-only, –dark, –diff-highlight, –diff-so-fancy, –help, –hyperlinks, –keep-plus-minus-markers, –light, –line-numbers, –list-languages, –list-syntax-themes, –navigate, –no-gitconfig, –raw, –relative-paths, –show-config, –show-syntax-themes, –side-by-side, –version, -V, -h, -n, -s
  • Allowed valued flags: –commit-decoration-style, –commit-style, –config, –diff-stat-align-width, –features, –file-added-label, –file-decoration-style, –file-modified-label, –file-removed-label, –file-renamed-label, –file-style, –file-transformation, –hunk-header-decoration-style, –hunk-header-file-style, –hunk-header-line-number-style, –hunk-header-style, –hunk-label, –inline-hint-style, –inspect-raw-lines, –line-buffer-size, –line-fill-method, –line-numbers-left-format, –line-numbers-left-style, –line-numbers-minus-style, –line-numbers-plus-style, –line-numbers-right-format, –line-numbers-right-style, –line-numbers-zero-style, –map-styles, –max-line-distance, –max-line-length, –merge-conflict-begin-symbol, –merge-conflict-end-symbol, –merge-conflict-ours-diff-header-decoration-style, –merge-conflict-ours-diff-header-style, –merge-conflict-theirs-diff-header-decoration-style, –merge-conflict-theirs-diff-header-style, –minus-emph-style, –minus-empty-line-marker-style, –minus-non-emph-style, –minus-style, –paging, –plus-emph-style, –plus-empty-line-marker-style, –plus-non-emph-style, –plus-style, –syntax-theme, –tabs, –true-color, –whitespace-error-style, –width, -w
  • Bare invocation allowed

df

https://www.gnu.org/software/coreutils/manual/coreutils.html#df-invocation

  • Allowed standalone flags: –all, –help, –human-readable, –inodes, –local, –no-sync, –portability, –print-type, –si, –sync, –total, –version, -H, -P, -T, -V, -a, -h, -i, -k, -l
  • Allowed valued flags: –block-size, –exclude-type, –output, –type, -B, -t, -x
  • Bare invocation allowed

diff

https://www.gnu.org/software/diffutils/manual/diffutils.html

  • Allowed standalone flags: –brief, –ed, –expand-tabs, –help, –ignore-all-space, –ignore-blank-lines, –ignore-case, –ignore-space-change, –ignore-tab-expansion, –left-column, –minimal, –new-file, –no-dereference, –no-ignore-file-name-case, –normal, –paginate, –rcs, –recursive, –report-identical-files, –show-c-function, –side-by-side, –speed-large-files, –strip-trailing-cr, –suppress-blank-empty, –suppress-common-lines, –text, –unidirectional-new-file, –version, -B, -E, -N, -P, -T, -V, -a, -b, -c, -d, -e, -f, -h, -i, -l, -n, -p, -q, -r, -s, -t, -u, -w, -y
  • Allowed valued flags: –changed-group-format, –color, –context, –exclude, –exclude-from, –from-file, –ifdef, –ignore-matching-lines, –label, –line-format, –new-group-format, –new-line-format, –old-group-format, –old-line-format, –show-function-line, –starting-file, –tabsize, –to-file, –unchanged-group-format, –unchanged-line-format, –unified, –width, -C, -D, -F, -I, -L, -S, -U, -W, -X, -x

dirname

https://www.gnu.org/software/coreutils/manual/coreutils.html#dirname-invocation

  • Allowed standalone flags: –help, –version, –zero, -V, -h, -z
  • Bare invocation allowed

du

https://www.gnu.org/software/coreutils/manual/coreutils.html#du-invocation

  • Allowed standalone flags: –all, –apparent-size, –bytes, –count-links, –dereference, –dereference-args, –help, –human-readable, –inodes, –no-dereference, –null, –one-file-system, –separate-dirs, –si, –summarize, –total, –version, -0, -D, -H, -L, -P, -S, -V, -a, -b, -c, -h, -k, -l, -m, -s, -x
  • Allowed valued flags: –block-size, –exclude, –files0-from, –max-depth, –threshold, –time, –time-style, -B, -d, -t
  • Bare invocation allowed

eza

https://eza.rocks/

Aliases: exa

  • Allowed standalone flags: –accessed, –all, –binary, –blocks, –blocksize, –bytes, –changed, –classify, –color-scale, –color-scale-mode, –context, –created, –dereference, –extended, –flags, –follow-symlinks, –git, –git-ignore, –git-repos, –git-repos-no-status, –group, –group-directories-first, –header, –help, –hyperlink, –icons, –inode, –links, –list-dirs, –long, –modified, –mounts, –no-filesize, –no-git, –no-icons, –no-permissions, –no-quotes, –no-time, –no-user, –numeric, –octal-permissions, –oneline, –only-dirs, –only-files, –recurse, –reverse, –tree, –version, -1, -@, -A, -B, -D, -F, -G, -H, -I, -M, -R, -S, -T, -U, -V, -Z, -a, -b, -d, -f, -g, -h, -i, -l, -m, -r, -s, -u, -x
  • Allowed valued flags: –color, –colour, –git-ignore-glob, –grid-columns, –group-directories-first-dirs, –ignore-glob, –level, –smart-group, –sort, –time, –time-style, –total-size, –width, -L, -X, -t, -w
  • Bare invocation allowed

file

https://man7.org/linux/man-pages/man1/file.1.html

  • Allowed standalone flags: –brief, –debug, –dereference, –extension, –help, –keep-going, –list, –mime, –mime-encoding, –mime-type, –no-buffer, –no-dereference, –no-pad, –no-sandbox, –preserve-date, –print0, –raw, –special-files, –uncompress, –uncompress-noreport, –version, -0, -D, -I, -L, -N, -S, -V, -Z, -b, -d, -h, -i, -k, -l, -n, -p, -r, -s, -z
  • Allowed valued flags: –exclude, –exclude-quiet, –files-from, –magic-file, –parameter, –separator, -F, -P, -e, -f, -m

find

https://www.gnu.org/software/findutils/manual/html_mono/find.html

  • Positional predicates allowed. -exec/-execdir allowed when the executed command is itself safe.

gzip

https://man7.org/linux/man-pages/man1/gzip.1.html

  • Requires -l, –list, -t, –test. - Allowed standalone flags: -l, –list, -t, –test, -v, –verbose, –help, -h, –version, -V

ls

https://www.gnu.org/software/coreutils/manual/coreutils.html#ls-invocation

  • Allowed standalone flags: –all, –almost-all, –author, –classify, –context, –dereference, –dereference-command-line, –dereference-command-line-symlink-to-dir, –directory, –escape, –file-type, –full-time, –group-directories-first, –help, –hide-control-chars, –human-readable, –indicator-style, –inode, –kibibytes, –literal, –no-group, –numeric-uid-gid, –quote-name, –recursive, –reverse, –show-control-chars, –si, –size, –version, -1, -A, -B, -C, -F, -G, -H, -L, -N, -Q, -R, -S, -U, -V, -X, -Z, -a, -c, -d, -f, -g, -h, -i, -k, -l, -m, -n, -o, -p, -q, -r, -s, -t, -u, -v, -x
  • Allowed valued flags: –block-size, –color, –format, –hide, –hyperlink, –ignore, –quoting-style, –sort, –tabsize, –time, –time-style, –width, -I, -T, -w
  • Bare invocation allowed

pwd

https://www.gnu.org/software/coreutils/manual/coreutils.html#pwd-invocation

  • Allowed standalone flags: –help, –version, -L, -P, -V, -h
  • Bare invocation allowed

https://www.gnu.org/software/coreutils/manual/coreutils.html#readlink-invocation

  • Allowed standalone flags: –canonicalize, –canonicalize-existing, –canonicalize-missing, –help, –no-newline, –verbose, –version, –zero, -V, -e, -f, -h, -m, -n, -v, -z

realpath

https://www.gnu.org/software/coreutils/manual/coreutils.html#realpath-invocation

  • Allowed standalone flags: –canonicalize-existing, –canonicalize-missing, –help, –logical, –no-symlinks, –physical, –quiet, –strip, –version, –zero, -L, -P, -V, -e, -h, -m, -q, -s, -z
  • Allowed valued flags: –relative-base, –relative-to

stat

https://www.gnu.org/software/coreutils/manual/coreutils.html#stat-invocation

  • Allowed standalone flags: –dereference, –file-system, –help, –terse, –version, -F, -L, -V, -h, -l, -n, -q, -r, -s, -x
  • Allowed valued flags: –format, –printf, -c, -f, -t

tar

https://man7.org/linux/man-pages/man1/tar.1.html

  • Listing mode only (requires -t or –list). Old-style flags accepted (e.g. tar tf, tar tzf).
  • Flags: -f, -j, -J, -v, -z, -O, –bzip2, –file, –gzip, –xz, –zstd.

tree

https://man7.org/linux/man-pages/man1/tree.1.html

  • Allowed standalone flags: –dirsfirst, –du, –fromfile, –gitignore, –help, –inodes, –matchdirs, –noreport, –prune, –si, –version, -A, -C, -D, -F, -J, -N, -Q, -S, -V, -X, -a, -d, -f, -g, -h, -i, -l, -n, -p, -q, -r, -s, -t, -u, -v, -x
  • Allowed valued flags: –charset, –filelimit, –filesfrom, –sort, –timefmt, -H, -I, -L, -P, -T
  • Bare invocation allowed

unzip

https://linux.die.net/man/1/unzip

  • Requires -l, -t, -Z. - Allowed standalone flags: -1, -2, -C, -M, -T, -Z, -h, -l, -m, -q, -s, -t, -v, -z, –help, –version, -V

zipinfo

https://linux.die.net/man/1/zipinfo

  • Allowed standalone flags: –help, –version, -1, -2, -C, -M, -T, -V, -Z, -h, -l, -m, -s, -t, -v, -z