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

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

Contents


REALPATH(1)							   REALPATH(1)


NAME    [Toc]    [Back]

     realpath -	prints the real	file name

SYNOPSIS    [Toc]    [Back]

     /usr/lib/desktop/realpath path

DESCRIPTION    [Toc]    [Back]

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

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

      
      
     realpath(3C), readlink(1)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
svcdumplog HP-UX Prints contents of a binary serviceability log file
size Tru64 Prints the size of an object file and the sizes of its segments or sections
readlink IRIX prints the value of a symbolic link
xlistscrns IRIX prints available screens for an X server
tserrpt IRIX prints selected records
factor Linux prints prime factors
mailq HP-UX prints the mail queue
seq Linux prints a sequence of numbers
ivinfo IRIX Prints information about Inventor files
atq Tru64 Prints the queue of jobs waiting to be run
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service