READLINK(1)
π readlink(1) β like, the General Commands Manual one, bestie π
Okay so real talk: readlink is the girl who tells you where the shortcut actually goes. Give her a symbolic link and she'll spill the value; give her a name and she'll hand you back a canonical file name. Very "I know a guy" of her, honestly. Obsessed.
β¨ NAME β¨
readlink β print value of a symbolic link or canonical file name. That's it. That's the whole vibe. π
π¦ SYNOPSIS π¦
readlink [OPTION]... [FILE]...
Yeah, options first, files after, and she takes as many files as you want to throw at her. Multi-task queen. π
πΈ DESCRIPTION πΈ
Print value of a symbolic link or canonical file name. Short, sweet, iconic β no notes. β¨
π₯ OPTIONS π₯
Okay, this is the part you actually came for, so let's go, one at a time, no skips:
-f,--canonicalizeβ canonicalize by following every symlink in every component of the given name recursively. Big catch though: all but the last component must exist. So she'll chase the chain all the way down, but if the middle of the road is missing, she's not doing that for you. π-e,--canonicalize-existingβ canonicalize by following every symlink in every component of the given name recursively, and this time all components must exist. Every single one. Strict queen, zero tolerance, love that for her. π-m,--canonicalize-missingβ canonicalize by following every symlink in every component of the given name recursively, without requirements on components existence. She literally does not care if the path exists, she's still canonicalizing. Chillest mode fr. π-n,--no-newlineβ do not output the trailing delimiter. No little newline at the end, so your output just ends. Raw. Unfiltered. Use responsibly when you're piping. π-q,--quietβ suppress most error messages. She's not gonna argue with you, she's just gonna vibe quietly. π€«-s,--silentβ suppress most error messages. Same energy, different flag. Twin sisters, both valid. π-v,--verboseβ report error message. Opposite girlie! She will tell you what went wrong. Communication icon. π£οΈ-z,--zeroβ separate output with NUL rather than newline. For when your downstream tool wants NUL bytes specifically. Veryxargs -0compatible of you, iykyk. β-h,--helpβ Print help. Bless. π-V,--versionβ Print version. Proof she's real and she's here. π<files>β the actual files you're pointing her at, bestie. That's the whole assignment. π
π VERSION π
v(uutils coreutils) 0.12.0 β copy-pasted exactly, don't come for me about the parentheses, that's how she's written. π
Quick vibe check: the canonicalize flags (-f,-e,-m) are the ones where the existence rules change what she does. Read those descriptions again before you fight your terminal at 2am, because the difference between-fand-eand-mis literally just which components are allowed to be missing. You got this. π«Ά
And that's the whole page, bestie! β¨ This gem came from the General Commands Manual β yes, that's the manual she lives in, READLINK(1) and all β dated 2026-09-17, version v(uutils coreutils) 0.12.0. Slay, go read some links. π¦ππΈ
π¦ where this page comes from
- arch rolling: uutils-coreutils 0.12.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms