realpath
version: 0.0.9
realpath [OPTIONS] <files>...
print the resolved path
Options
--help,-h-
Print help information
--version,-V-
Print version information
--quiet,-q-
Do not print warnings for invalid paths
--strip,-s-
Only strip '.' and '..' components, but don't resolve symbolic links
--zero,-z-
Separate output filenames with \0 rather than newline
--logical,-L-
resolve '..' components before symlinks
--physical,-P-
resolve symlinks as encountered (default)
--canonicalize-existing,-e-
canonicalize by following every symlink in every component of the given name recursively, all components must exist
--canonicalize-missing,-m-
canonicalize by following every symlink in every component of the given name recursively, without requirements on components existence