realpath(1)
realpath - prints the real file name
As shipped in IRIX 6.5.22. Unchanged since IRIX 6.5.
NAME realpath - prints the real file name SYNOPSIS /usr/lib/desktop/realpath path DESCRIPTION realpath provides command-line access to the realpath(3C) library routine. realpath uses the realpath(3C) library routine to resolve all links, symbolic links, and references to ``.'' and ``..'' in path and prints the result to stdout. If the realpath(3C) call fails for any reason, path is printed and a non-zero exit status is returned. The realpath command is intended for use by developers who need access to absolute pathnames for their FTR rules. EXAMPLE Suppose that /usr/people/guest is a symlink to /otherdisk/usr/people/guest and that the current working directory is /usr/people/guest. % /usr/lib/desktop/realpath /usr/people/guest/.profile /otherdisk/usr/people/guest/.profile % echo $status 0 % /usr/lib/desktop/realpath ../guest/.profile /otherdisk/usr/people/guest/.profile % echo $status 0 % /usr/lib/desktop/realpath aBadFileName aBadFileName % echo $status 255 SEE ALSO realpath(3C), readlink(1)