tldr/pages/common/pwd.md

288 B

pwd

Print name of current/working directory. More information: https://www.gnu.org/software/coreutils/manual/html_node/pwd-invocation.html.

  • Print the current directory:

pwd

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

pwd -P