PWD(1) fish-shell PWD(1)

# [NAME](#NAME)

pwd - output the current working directory

# [SYNOPSIS](#SYNOPSIS)

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

# [DESCRIPTION](#DESCRIPTION)

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:

[**-L** or **--logical**](#L)

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

[**-P** or **--physical**](#P)

Output the physical working directory, with symlinks resolved.

[**-h** or **--help**](#h)

Displays help about using this command.

# [SEE ALSO](#SEE_ALSO)

Navigate directories using the directory history &lt;#directory-history&gt; or the directory stack &lt;#directory-stack&gt;

# [Copyright](#Copyright)

fish-shell developers

September 9, 2026 4.9

---

Document: pwd(1) from fish 4.9.3-r0 (Chainguard OS)
Source: https://github.com/fish-shell/fish-shell
