pwd

v(uutils coreutils) 0.0.30
pwd [OPTION]... [FILE]...

Display the full filename of the current working directory.

Options

--logical, -L

use PWD from environment, even if it contains symlinks

--physical, -P

avoid all symlinks

Examples

Print the current directory:

pwd

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

pwd {{[-P|--physical]}}

Display help:

pwd --help

The examples are provided by the tldr-pages project under the CC BY 4.0 License.

Please note that, as uutils is a work in progress, some examples might fail.