Print the absolute pathname of the current working directory.
The pathname printed contains no symbolic links if the -P
option is supplied or the -o physical option to the set
builtin command is enabled. If the -L option is used, the
pathname printed may contain symbolic links. The return sta-
tus is 0 unless an error occurs while reading the name of the
current directory or an invalid option is supplied.
GNU Bash-3.0 2004 Apr 20 BASH_BUILTINS(1)