Computer Science - Unix - Discussion

Discussion Forum : Unix - Section 2 (Q.No. 22)
22.
Which of the following commands is used to get directory one level up?
cd
cd ..
cd/
chdir
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
3 comments Page 1 of 1.

Coach said:   1 decade ago
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:   9 years ago
What is the use of chdir command?

Tinesh said:   5 years ago
It should be a cd/.

Because here it is asked one level up.

Post your comments here:

Your comments will be displayed after verification.