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

  man pages->OpenBSD man pages -> pwd (1)              



NAME    [Toc]    [Back]

     pwd - return working directory name

SYNOPSIS    [Toc]    [Back]


DESCRIPTION    [Toc]    [Back]

     The pwd utility prints the absolute pathname of the  current
working directory
  to  the  standard  output.   Both  the Bourne shell
(sh(1)) and Korn
     shell (ksh(1)) have their own built-in version of pwd.

     The pwd utility exits 0 on success or >0  if  an  error  occurred.

SEE ALSO    [Toc]    [Back]

     cd(1), csh(1), ksh(1), sh(1), getcwd(3)

STANDARDS    [Toc]    [Back]

     The   pwd   utility  is  expected  to  be  IEEE  Std  1003.2
(``POSIX.2'') compatible.

BUGS    [Toc]    [Back]

     In csh(1), the command dirs is always  faster  (although  it
can give a different
 answer in the rare case that the current directory or
a containing
     directory was moved after the shell descended into it).

OpenBSD     3.6                          April      28,      1995
[ Back ]
 Similar pages
Name OS Title
pwd IRIX Return the current working directory
pwd HP-UX working directory name
getwd FreeBSD get working directory pathname
getcwd Linux Get current working directory
cd IRIX Change working directory
getwd NetBSD get working directory pathname
cd Tru64 Changes the current working directory
pwd IRIX print working directory name
cd HP-UX change working directory
getwd OpenBSD get working directory pathname
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service