READLINK(1)
π READLINK(1) β General Commands Manual π
okay bestie, welcome to readlink, a General Commands Manual classic β¨ and honestly? it's giving "small tool, big power". she reads symlinks. she tells you the truth about where things actually live. no cap. π¦
β¨ NAME β¨
readlink β print value of a symbolic link or canonical file name π
πΈ SYNOPSIS πΈ
readlink [OPTION]... [FILE]...
π DESCRIPTION π
Print value of a symbolic link or canonical file name.
that's it. that's the whole job. she looks at a link, she says "this points over there", periodt. π
π 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, and this time all components must exist β no skipping, no vibes-only paths π€-m,--canonicalize-missingβ canonicalize by following every symlink in every component of the given name recursively, without requirements on components existence β she's chill, she does not care if things exist fr fr π-n,--no-newlineβ do not output the trailing delimiter π«-q,--quietβ suppress most error messages π€«-s,--silentβ suppress most error messages (same energy, different letter, iconic) π€-v,--verboseβ report error message π’-z,--zeroβ separate output with NUL rather than newline π-h,--helpβ Print help π-V,--versionβ Print version π·οΈ<files>β the files, bestie. the actual things you're pointing her at π
π VERSION π
v(uutils coreutils) 0.12.0
π EXAMPLES π
Get the actual file to which the symlink points:
readlink path/to/file
Get the absolute path to a file:
readlink [-f|--canonicalize] path/to/file
π§ 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.
and that's the page, bestie π before you go: this little legend lives in the General Commands Manual, she's tagged as READLINK(1), she's sourced from v(uutils coreutils) 0.12.0, and the whole thing is dated 2026-09-25 β go forth and canonicalize, you absolute main character ππ
π¦ where this page comes from
- ubuntu stonking: rust-coreutils 0.12.0-1ubuntu2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms