OS Manuals

pwd(1)

pwd - output the current working directory

PWD(1) fish-shell PWD(1)

pwd - output the current working directory

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

NOTE: This page documents the fish builtin pwd. To see the documentation on any non-fish versions, use command man pwd.

pwd outputs (prints) the current working directory.

The following options are available:

Output the logical working directory, without resolving symlinks (default behavior).
Output the physical working directory, with symlinks resolved.
Displays help about using this command.

Navigate directories using the directory history <#directory-history> or the directory stack <#directory-stack>

fish-shell developers

October 26, 2026 4.9

fish 4.9.3-r4 · os · ingested 2026-10-27