Print name of current/working directory - pwd

Print name of current/working directory. More information: pwd invocation (GNU Coreutils 9.5).

  • Print the current directory:

pwd

  • Print the current directory, and resolve all symlinks (i.e. show the “physical” path):

pwd --physical

  • Print the current logical directory:

pwd --logical