Home »
MCQs »
Linux MCQs
Which Linux command is used to know which directory you are in?
10. Which Linux command is used to know which directory you are in?
- know
- help
- cwd
- pwd
Answer: D) pwd
Explanation:
To know which directory you are in, the "pwd" command can be used. The "pwd" command stands for "Present Working Directory". This command gives us the absolute path, which means the path that starts from the root.