manpagez: man pages & more
info coreutils
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

19.1 pwd: Print working directory

pwd prints the fully resolved name of the current directory. That is, all components of the printed name will be actual directory names—none will be symbolic links.

Because most shells have a built-in pwd command, using an unadorned pwd in a script or interactively may get you different functionality than that described here.

The only options are a lone ‘--help’ or ‘--version’. See section Common options.

An exit status of zero indicates success, and a nonzero value indicates failure.

© 2000-2021
Individual documents may contain additional copyright information.