pwd - output the current working directory

概要

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

描述

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.

-h or --help

顯示此指令的幫助資訊。

另請參見

Navigate directories using the directory history or the directory stack