PWD – Linux command to check current working directory

5 (100%) 2 votes

PWD – Linux command to check current working directory

 

When you first open the terminal, you are in the home directory of your user. To know which directory you are in, you can use the “pwd” command. It gives us the absolute path, which means the path that starts from the root. The root is the base of the Linux file system. It is denoted by a forward slash( / ). The user directory is usually something like “/home/username”.

 

 

For any query or issue, feel free to discuss on http://discuss.eduguru.in
%d bloggers like this: