realpath(1) General Commands Manual realpath(1)

realpath - Print the resolved path

realpath [-q|--quiet] [-s|--strip] [-z|--zero] [-L|--logical] [-P|--physical] [-e|--canonicalize-existing] [-m|--canonicalize-missing] [--relative-to] [--relative-base] [-h|--help] [-V|--version] <files>

Print the resolved path

Do not print warnings for invalid paths
Only strip '.' and '..' components, but don't resolve symbolic links
Separate output filenames with \0 rather than newline
resolve '..' components before symlinks
resolve symlinks as encountered (default)
canonicalize by following every symlink in every component of the given name recursively, all components must exist
canonicalize by following every symlink in every component of the given name recursively, without requirements on components existence
print the resolved path relative to DIR
print absolute paths unless paths below DIR
Print help
Print version
<files>

v0.0.26

realpath 0.0.26