Last updated on May 30th, 2018 at 09:46 am
After launching terminal in Linux, the command prompt will start at currently logged in user home directory. In this cause our present working directory is /home/haider, present working directory will change as you move to other directory.
Using the pwd command, you can check the complete path of your present working directory at any point.
Let’s see practical example:
Above Example showing output of pwd command, this is showing full path of present working directory.
First output showing full path of user h.haider home directory which is /home/haider after changing to BroExperts directory which is inside the h.haider directory. Now pwd output showing present working directory full path is:
Next: Switch Directories
If you like this Post, please give us your valuable feedback by pressing Vote Up / Vote Down Button. Thanks.