Oracle
1Z0-409 · Question #170
The user smith wants to navigate to the /usr/share/doc directory. His current working directory is /home/smith. Which of these commands would help smith to navigate to the /usr/share/doc directory?…
The correct answer is A. cd /usr/share/doc D. cd ../../usr/share/doc E. cd / ; cd usr/share/doc. See the full explanation below for the reasoning.
Question
The user smith wants to navigate to the /usr/share/doc directory. His current working directory is /home/smith. Which of these commands would help smith to navigate to the /usr/share/doc directory? (Choose all that apply.)
Options
- Acd /usr/share/doc
- Bcd ../usr/share/doc
- Ccd / ; usr/share/doc
- Dcd ../../usr/share/doc
- Ecd / ; cd usr/share/doc
How the community answered
(36 responses)- A69% (25)
- B19% (7)
- C11% (4)
Community Discussion
No community discussion yet for this question.