*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> readlink (1)              
Title
Content
Arch
Section
 

Contents


REALPATH(1)							   REALPATH(1)


NAME    [Toc]    [Back]

     readlink -	prints the value of a symbolic link

SYNOPSIS    [Toc]    [Back]

     /usr/lib/desktop/readlink path

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

     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    [Toc]    [Back]

      
      
     readlink(2), realpath(1)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
ln Tru64 Make a hard link or a symbolic link to a file
symlink HP-UX symbolic link
readlink FreeBSD read value of a symbolic link
symlink OpenBSD symbolic link handling
readlink NetBSD read value of a symbolic link
symlink FreeBSD symbolic link handling
readlink IRIX read the value of a symbolic link
readlink Linux read value of a symbolic link
readlink OpenBSD read value of a symbolic link
lstat HP-UX get symbolic link status
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service