pwd command
LINUX-Frequently used commands
pwd command Know your current working directory. |
Syntax |
pwd |
The pwd command displays the directory you are currently accessing (the current directory).. The current directory shown by the pwd command is shown as an absolute pathname.. If you are working in a directory with a high level of hierarchy, you may not know which directory you are in. You can use the pwd command to help you with this. |
Example: Display the current directory. |
$ pwd /home/koro ←The current directory will be displayed |