Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ readlink(1) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

readlink(2)

realpath(1)



REALPATH(1)                                                        REALPATH(1)



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)


















                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026