realpath(1)
π realpath β bestie, let's find out where you ACTUALLY live
okay so realpath is a General Commands Manual girlie and she's here to Print the resolved path. that's it. that's the whole job. she takes your messy lil path with all the .. and the symlinks and she hands you back the truth. no cap. π¦
β¨ SYNOPSIS β¨
realpath [-q|--quiet] [-s|--strip] [-z|--zero] [-L|--logical]
[-P|--physical] [-E|--canonicalize] [-e|--canonicalize-existing]
[-m|--canonicalize-missing] [--relative-to] [--relative-base]
[-h|--help] [-V|--version] <files>
like yes she's got a LOT of flags but she's not complicated she's just thorough. main character energy fr. π
πΈ DESCRIPTION πΈ
Print the resolved path.
literally that's what the manpage says and honestly? iconic. she takes <files>, she does the canonicalization thing, she prints. periodt. π
π OPTIONS π
-q,--quietβ no warnings, no drama. invalid paths get zero commentary, she just moves on. π€«-s,--stripβ she ONLY strips out the'.'and'..'components and does not resolve symbolic links. lazy girlboss behavior, respect it. β¨-z,--zeroβ separates output filenames with\0instead of a newline. for when your filenames are chaotic and newlines just can't be trusted. π-L,--logicalβ resolves'..'components before symlinks. order matters bestie. π§-P,--physicalβ resolves symlinks as encountered. this is the default, she's physical like that. π₯-E,--canonicalizeβ all but the last component must exist. also the default. π-e,--canonicalize-existingβ canonicalizes by following every symlink in every component of the given name recursively, and all components must exist. no missing pieces allowed, she's strict. π€-m,--canonicalize-missingβ canonicalizes by following every symlink in every component of the given name recursively, without requirements on components existence. she doesn't care if it exists, she's just vibing. π--relative-to<DIR>β prints the resolved path relative toDIR. π--relative-base<DIR>β prints absolute paths unless paths are belowDIR. π-h,--helpβ Print help. your girl explains herself. π«Ά-V,--versionβ Print version. πΈ<files>β the files. the actual input. the moment. give her something to work with bestie. π
β VERSION β
v(uutils coreutils) 0.7.0
and that's the whole page!! realpath (uutils coreutils) 0.7.0 β that's the version and the date-of-record energy, so consider this your cute lil sign-off. go resolve some paths, you absolute legend. π πβ¨
π¦ where this page comes from
- epel 10: rust-coreutils-devel 0.7.0-10.el10_3 Β· MIT
- epel 10: uutils-coreutils 0.7.0-10.el10_3 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 43: rust-coreutils-devel 0.7.0-12.fc43 Β· MIT
- fedora 43: uutils-coreutils 0.7.0-12.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 44: rust-coreutils-devel 0.7.0-4.fc44 Β· MIT
- fedora 44: uutils-coreutils 0.7.0-4.fc44 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms