Google News
logo
Unix - Quiz(MCQ)
Which command is used for printing the current working directory?
A)
pwd
B)
cd
C)
dir
D)
HOME

Correct Answer :   pwd


Explanation : pwd command is used for checking our current directory. Current directory is the directory in which we are currently working. pwd displays the absolute pathname i.e. with respect to the root directory.

$ pwd
/home/user06/Abdullah​

Advertisement