W3cubDocs

/Fish 3.1

pwd - output the current working directory

Synopsis

pwd

Description

pwd outputs (prints) the current working directory.

The following options are available:

  • -L, Output the logical working directory, without resolving symlinks (default behavior).
  • -P, Output the physical working directory, with symlinks resolved.

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