readlink(1)

readlink - prints the value of a symbolic link

As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.

NAME
     readlink - prints the value of a symbolic link

SYNOPSIS
     /usr/lib/desktop/readlink path

DESCRIPTION
     readlink provides command-line access to the readlink(2) system call.
     readlink uses the readlink(2) system call to print the value of a
     symbolic link to stdout.  If path is not a symbolic link, path is printed
     ant a non-zero exit status is returned.

     The readlink command is intended for use by developers who need access to
     symbolic link contents 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.

     % /usr/lib/desktop/readlink /usr/people/guest
     /otherdisk/usr/people/guest
     % echo $status
     0

     % /usr/lib/desktop/readlink guest
     /otherdisk/usr/people/guest
     % echo $status
     0

     % /usr/lib/desktop/readlink aBadFileName
     aBadFileName
     % echo $status
     255

SEE ALSO
     readlink(2), realpath(1)