REALPATH(1) | General Commands Manual | REALPATH(1) |
realpath
— print
resolved path
realpath |
[-E |-e ]
[-n |-z ]
[-qs ] path... |
The realpath
utility resolves
., .., and symlinks used in
each path to print an absolute pathname.
When no flags are passed, this implementation assumes the behavior
of -E
.
-E
-e
-n
-q
-s
-z
The realpath
utility exits 0 on
success, and >0 if an error occurs.
realpath
should be compliant with the IEEE
Std 1003.1-2024 (“POSIX.1”) specification.
The options -n
,
-q
, -s
,
-z
, and support for multiple
path arguments are extensions present for
compatibility with existing software.
Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
September 27, 2024 | Linux |