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

afscexpand

https://ss64.com/mac/afscexpand.html

  • Allowed standalone flags: -c

basename

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

Aliases: gbasename

  • 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

cap_mkdb

https://man.freebsd.org/cgi/man.cgi?cap_mkdb

  • Allowed standalone flags: -v
  • Allowed valued flags: -f

cd

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

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

chflags

https://man.freebsd.org/cgi/man.cgi?chflags

  • Allowed standalone flags: -H, -L, -P, -R, -f, -h, -v, -x

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

cp

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

Aliases: gcp

  • Allowed standalone flags: –archive, –force, –help, –interactive, –no-clobber, –no-dereference, –no-target-directory, –one-file-system, –parents, –recursive, –remove-destination, –symbolic-link, –update, –verbose, –version, -H, -L, -N, -P, -R, -S, -T, -X, -a, -c, -f, -h, -i, -l, -n, -p, -r, -s, -u, -v, -x
  • Allowed valued flags: –backup, –preserve, –reflink, –sparse, –suffix, –target-directory, -t

date

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

Aliases: gdate

  • 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

Aliases: gdf

  • 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

Aliases: gdirname

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

dot_clean

https://ss64.com/mac/dot_clean.html

  • Allowed standalone flags: –keep=mostrecent, –keep=dotbar, –keep=native, -f, -h, -m, -n, -s, -v

drutil

https://ss64.com/mac/drutil.html

  • atip
  • cdtext
  • discinfo: Flags: -xml
  • filename
  • getconfig
  • help: Positional args accepted
  • info: Flags: -xml
  • list: Flags: -xml
  • size
  • status: Flags: -xml
  • subchannel
  • toc
  • trackinfo: Flags: -xml
  • version

du

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

Aliases: gdu

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

fs_usage

https://ss64.com/mac/fs_usage.html

  • Allowed standalone flags: -F, -b, -e, -w
  • Allowed valued flags: -E, -R, -S, -f, -t
  • Bare invocation allowed

GetFileInfo

https://ss64.com/mac/getfileinfo.html

  • Allowed standalone flags: -P, -c, -d, -m, -t
  • Allowed valued flags: -a
  • Hyphen-prefixed positional arguments accepted

gmknod

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

  • Allowed standalone flags: –help, –version, -Z
  • Allowed valued flags: –context, –mode, -m

gtruncate

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

  • Allowed standalone flags: –help, –io-blocks, –no-create, –version, -c, -o
  • Allowed valued flags: –reference, –size, -r, -s

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

  • Allowed standalone flags: –help, –version

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

ln

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

Aliases: gln, link, glink

  • Allowed standalone flags: –directory, –force, –help, –interactive, –logical, –no-dereference, –no-target-directory, –physical, –relative, –symbolic, –verbose, –version, -F, -L, -P, -T, -d, -f, -h, -i, -n, -r, -s, -v, -w
  • Allowed valued flags: –backup, –suffix, –target-directory, -S, -t

lockf

https://man.freebsd.org/cgi/man.cgi?lockf

  • Recursively validates the inner command.

ls

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

Aliases: gls, gdir, gvdir, dir, vdir

  • 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

lsbom

https://ss64.com/mac/lsbom.html

  • Allowed standalone flags: –help, -b, -c, -d, -f, -h, -l, -m, -s, -x
  • Allowed valued flags: –arch, -p

mkbom

https://ss64.com/mac/mkbom.html

  • Allowed standalone flags: –help, -h, -s
  • Allowed valued flags: -i

mkdir

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

Aliases: gmkdir

  • Allowed standalone flags: –help, –parents, –verbose, –version, -Z, -p, -v
  • Allowed valued flags: –context, –mode, -m

mkfifo

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

Aliases: gmkfifo

  • Allowed standalone flags: –help, –version, -Z
  • Allowed valued flags: –context, –mode, -m

mkfile

https://ss64.com/mac/mkfile.html

  • Allowed standalone flags: -n, -v

mktemp

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

Aliases: gmktemp

  • Allowed standalone flags: –directory, –dry-run, –help, –quiet, –tmpdir, –version, -d, -q, -t, -u
  • Allowed valued flags: –suffix, –tmpdir, -p, -t
  • Bare invocation allowed

mtree

https://man.freebsd.org/cgi/man.cgi?mtree

  • Allowed standalone flags: -D, -L, -P, -S, -U, -c, -d, -e, -i, -n, -q, -r, -u, -w, -x
  • Allowed valued flags: -K, -X, -f, -k, -p, -s
  • Bare invocation allowed

mv

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

Aliases: gmv

  • Allowed standalone flags: –force, –help, –interactive, –no-clobber, –no-target-directory, –strip-trailing-slashes, –update, –verbose, –version, -T, -f, -h, -i, -n, -u, -v
  • Allowed valued flags: –backup, –suffix, –target-directory, -S, -t

pathchk

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

Aliases: gpathchk

  • Allowed standalone flags: –help, –portability, –version, -P, -p

pl

https://ss64.com/mac/pl.html

  • Allowed valued flags: –input, –output
  • Bare invocation allowed

pwd

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

Aliases: gpwd

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

quota

https://man.freebsd.org/cgi/man.cgi?quota

  • Allowed standalone flags: -g, -q, -u, -v
  • Bare invocation allowed

rdfind

https://rdfind.pauldreik.se/

  • Allowed standalone flags: –help, –version, -h, -n, -v
  • Allowed valued flags: -checksum, -deleteduplicates, -deterministic, -dryrun, -followsymlinks, -ignoreempty, -makehardlinks, -makeresultsfile, -makesymlinks, -maxsize, -minsize, -outputname, -removeidentinode, -sleep

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

Aliases: greadlink

  • 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

Aliases: grealpath

  • 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

rm

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

Aliases: grm

  • Requires –help, –version. - Allowed standalone flags: –help, –version

rmdir

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

Aliases: grmdir

  • Allowed standalone flags: –help, –ignore-fail-on-non-empty, –parents, –verbose, –version, -p, -v

rs

https://man.freebsd.org/cgi/man.cgi?rs

  • Bare invocation allowed
  • Hyphen-prefixed positional arguments accepted

stat

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

Aliases: gstat

  • 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

sync

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

Aliases: gsync

  • Allowed standalone flags: –data, –file-system, –help, –version, -d, -f
  • Bare invocation allowed

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.

touch

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

Aliases: gtouch

  • Allowed standalone flags: –help, –no-create, –no-dereference, –version, -A, -a, -c, -h, -m
  • Allowed valued flags: –date, –reference, –time, -d, -r, -t

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

unvis

https://man.freebsd.org/cgi/man.cgi?unvis

  • Allowed standalone flags: -H, -e, -h, -m
  • Bare invocation allowed

unzip

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

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

vis

https://man.freebsd.org/cgi/man.cgi?vis

  • Allowed standalone flags: -N, -M, -S, -b, -c, -f, -h, -l, -m, -n, -o, -s, -t, -w
  • Allowed valued flags: -F, -e
  • Bare invocation allowed

wait4path

https://ss64.com/mac/wait4path.html

  • Positional arguments only

xattr

https://ss64.com/mac/xattr.html

  • Allowed standalone flags: –help, -c, -d, -h, -l, -p, -r, -s, -v, -w, -x

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