.\" Copyright (c) 1990 The Regents of the University of California.
.\" This code is derived from software contributed to Berkeley by
.\" the Institute of Electrical and Electronics Engineers, Inc.
.\" %sccs.include.redist.roff%
.\" @(#)pwd.1 6.6 (Berkeley) %G%
.Nd return working directory name
writes the absolute pathname of the current working directory to
The pwd utility exits 0 on success, and >0 if an error occurs.
command is expected to be
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).