Skip to main content

Print name of current/working directory.

# To print the current directory:
pwd

# To print the current directory, and resolve all symlinks (i.e. show the "physical" path):
pwd -P

# To print the current logical directory:
pwd -L