Computer Science - Unix - Discussion

Discussion :: Unix - Section 2 (Q.No.22)

22. 

Which of the following commands is used to get directory one level up?

[A]. cd
[B]. cd ..
[C]. cd/
[D]. chdir
[E]. None of the above

Answer: Option B

Explanation:

No answer description available for this question.

Coach said: (Jun 28, 2011)  
To get the directory one level up we use "cd .." rather than just "cd"."cd" is used to go to home directory of the user.

Praveen said: (Oct 16, 2016)  
What is the use of chdir command?

Tinesh said: (Apr 12, 2020)  
It should be a cd/.

Because here it is asked one level up.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.