Computer Science - Unix - Discussion

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

8. 

Which command is used to change directory to the name beginning with a 'p'?

[A]. cd p
[B]. cd p?
[C]. cd p*
[D]. cd [p]
[E]. None of the above

Answer: Option C

Explanation:

No answer description available for this question.

Siva said: (Dec 29, 2015)  
Hi,

This is Siva. I did not understand this question If it has many directories in that particular directory how will you change that particular directory?

Can please explain me the question?

Firoz said: (Dec 31, 2015)  
cd [dir1] --> Change to directory dir1 if it is specified, or to the home directory if none is given.

Sumana said: (Aug 6, 2016)  
Hi,

Option 3 is not the correct answer at all.

Only option D is correct if any folder only named as p is present.

Please post an explanation.

Nilesh S. said: (Sep 29, 2016)  
Here the option A and option C and option D are same but the question is, the name beginning with p, Hence the answer is option C. It is the correct answer.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.