fish / 3.5.0 / cmds / pwd.html /

pwd - output the current working directory

Synopsis

pwd [-P | --physical]
pwd [-L | --logical]

Description

pwd outputs (prints) the current working directory.

The following options are available:

-L or --logical

Output the logical working directory, without resolving symlinks (default behavior).

-P or --physical

Output the physical working directory, with symlinks resolved.

-h or --help

Displays help about using this command.

See Also

Navigate directories using the directory history or the directory stack

© 2022 fish-shell developers
Licensed under the GNU General Public License, version 2.
https://fishshell.com/docs/3.5/cmds/pwd.html