cd
cd.
cd..
none of the mentioned
Answer is Right!
Answer is Wrong!
The correct answer is C. cd..
The cd
command is used to change the current working directory. The .
option is used to change to the parent directory. The ..
option is used to change to the parent directory’s parent directory.
For example, if you are currently in the directory /home/user/Documents
, and you run the command cd ..
, you will be changed to the directory /home/user
. If you run the command cd .. ..
, you will be changed to the directory /home
.