PWD(1) | General Commands Manual | PWD(1) |
pwd
— print
working directory
pwd |
[-L |-P ] |
pwd
prints the full path of the current
working directory.
-L
PWD
environment variable if it
contains an absolute pathname of the current directory, and doesn't
contains dot or dot-dot components.-P
If both -L
and -P
are passed, the last one applies.
The pwd
utility exits 0 on success,
and >0 if an error occurs.
pwd
should be compliant with the IEEE Std
1003.1-2024 (“POSIX.1”) specification.
Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
November 9, 2024 | Linux |