Updated: April 19, 2023 |
Print working directory name (POSIX)
pwd
QNX Neutrino, Microsoft Windows
None.
The pwd utility writes the pathname of the current working directory to the standard output.
The pwd command is available both as a shell alias (equivalent to print "$PWD"), and as a standalone utility. For information about the builtin cd and pwd commands, see ksh. To make sure you use the executable, specify the full path.