realpath(1)

πŸ“¦
version 0.7.0 Β· 3 versions
, in epel 10, fedora 43, fedora 44

πŸ’… 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 \0 instead 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 to DIR. πŸ“
  • --relative-base <DIR> β€” prints absolute paths unless paths are below DIR. πŸ™ˆ
  • -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