Codecabulary Home / Development Tools / pwd
pwd is a built-in command in bash, zsh, ksh, and other common shells that's used to print the working directory (hence pwd).
$ pwd
/Users/brettshollenberger
Options
$ pwd -LPrints your logical path; this option is passed by default.
$ pwd -PPrints your physical location, which may differ from your logical path if you've followed a symlink.