OS Manuals

/usr/bin/readlink

Cross-platform Rust rewrite of the GNU coreutils.

From uutils 0.12.0-r6 (os), captured 2026-11-07 by running readlink --help (exit 0). permalink

Print value of a symbolic link or canonical file name.

Usage: readlink [OPTION]... [FILE]...

Arguments:
  <files>...

Options:
  -f, --canonicalize           canonicalize by following every symlink in every component of the
                               given name recursively; all but the last component must exist
  -e, --canonicalize-existing  canonicalize by following every symlink in every component of the
                               given name recursively, all components must exist
  -m, --canonicalize-missing   canonicalize by following every symlink in every component of the
                               given name recursively, without requirements on components existence
  -n, --no-newline             do not output the trailing delimiter
  -q, --quiet                  suppress most error messages
  -s, --silent                 suppress most error messages
  -v, --verbose                report error message
  -z, --zero                   separate output with NUL rather than newline
  -h, --help                   Print help
  -V, --version                Print version
Options (10)
OptionDescriptionSource
-f, --canonicalizecanonicalize by following every symlink in every component of the given name recursively;help + man
-e, --canonicalize-existingcanonicalize by following every symlink in every component of the given name recursively, all components must existhelp + man
-m, --canonicalize-missingcanonicalize by following every symlink in every component of the given name recursively, without requirements on components existencehelp + man
-n, --no-newlinedo not output the trailing delimiterhelp + man
-q, --quietsuppress most error messageshelp + man
-s, --silentsuppress most error messageshelp + man
-v, --verbosereport error messagehelp + man
-z, --zeroseparate output with NUL rather than newlinehelp + man
-h, --helpPrint helphelp + man
-V, --versionPrint versionhelp + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.