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.

“Take care of your body. It's the only place you have to live” ~ Jim Rohn

Related:

pwd man page - Apple.com
cd - Change Directory


© Copyright SS64.com 1999-2013
Some rights reserved