$ pwd
Print the current working directory
DOCUMENTEDNavigationUbuntu 24.04 LTS baseline
Synopsis
pwd [OPTION]...
What it does
- `pwd` writes the absolute pathname of the current working directory to standard output.
- The shell can also provide a `pwd` builtin; this page describes the GNU/Ubuntu command behavior documented by Ubuntu.
Examples
Show the current directory
pwdResolve symbolic links in the path
pwd -PImportant details
These examples are intentionally conservative. Command behavior can still depend on filesystem state, permissions, locale, shell, installed package version, and other system configuration.
For exact option semantics, the linked authoritative documentation is the source of truth.