| REALPATH(1) | General Commands Manual | REALPATH(1) |
realpath — print
the canonicalized absolute pathname
realpath |
[-q] file |
The realpath utility uses
realpath(3) to resolve all symbolic links, extra
“/” characters and references to /./
and /../ in file, and prints
the absolute pathname on standard output.
The options are as follows:
-qThe realpath utility exits 0 on
success, and >0 if an error occurs.
The realpath utility first appeared in
OpenBSD 7.1.
| October 13, 2021 | Debian |