What is it for? To display the current working directory.
The name pwd comes from the acronym “Print Working Directory”
shows the full path from the root of the file system to the current directory.
pwd
Options:
- The pwd command has a few options that can be used to customize its behavior. Below are some of the most common options:
- -L : Display the current working directory using the symbolic path (instead of the physical path).
- -P : Display the current working directory using the physical path (instead of the symbolic path).
- –help : Display help for the pwd command.