mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 20:04:30 +08:00
801d7e3e11
For builtins that have the same name as common commands, it might not be entirely obvious that there is another page. So, for those builtins, we add a note, but only in the man pages. (exception is true and false because the note would be longer than the page, and it's fridging true and false) Fixes #8077.
35 lines
834 B
ReStructuredText
35 lines
834 B
ReStructuredText
.. _cmd-pwd:
|
|
|
|
pwd - output the current working directory
|
|
==========================================
|
|
|
|
Synopsis
|
|
--------
|
|
|
|
::
|
|
|
|
pwd [(-P | --physical)] [(-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>`
|