Pwd
The
pwd command (
print
working
directory) is used to print the name of current
working directory, if the shell prompt does not show this, the user can find their place in the
directory tree. It is found in the
Unix family of
operating systems and other flavors as well. The
DOS equivalent is "
cd" with no arguments.
It is a command which is sometimes included built into certain shellss such as sh, and bash. It can be implemented easily with the POSIX C functions getcwd() and/or getwd().