pwd

Print Working Directory - the absolute pathname of the current folder (i.e. it tells you where you are).

Syntax
      pwd [-LP]

Key
   -P   The pathname printed contains no symbolic links

   -L   The pathname printed may contain symbolic links.

Enabling the -o physical option for the set builtin command is equivalent to -P.

The return status is 0 unless an error occurs while reading the name of the current directory or an invalid option is supplied.

pwd is a bash builtin command.

Related:

pwd man page - Apple.com
cd - Change Directory



Back to the Top

© Copyright SS64.com 1999-2012
Some rights reserved