pwd

v0.0.28
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

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.