mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
14d60ccb32
A great leap forward
33 lines
854 B
ReStructuredText
33 lines
854 B
ReStructuredText
.. _cmd-pwd:
|
|
|
|
pwd - output the current working directory
|
|
==========================================
|
|
|
|
Synopsis
|
|
--------
|
|
|
|
| ``pwd`` [**-P** | **--physical**]
|
|
| ``pwd`` [**-L** | **--logical**]
|
|
|
|
|
|
Description
|
|
-----------
|
|
|
|
.. only:: builder_man
|
|
|
|
NOTE: This page documents the fish builtin ``pwd``.
|
|
To see the documentation on the ``pwd`` command you might have,
|
|
use ``command man pwd``.
|
|
|
|
``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.
|
|
|
|
See Also
|
|
--------
|
|
|
|
Navigate directories using the :ref:`directory history <directory-history>` or the :ref:`directory stack <directory-stack>`
|