nerdexam
LPI

101-500 · Question #309

101-500 Question #309: Real Exam Question with Answer & Explanation

Sign in or unlock 101-500 to reveal the answer and full explanation for question #309. The question stem and answer options stay visible for context.

GNU and Unix Commands

Question

You need to create a simple hierarchy of directories: images/photos/summer/ottawa/. None of the directories on that path exists. What command will create all of the needed directories in one step?

Options

  • Amkdir -r images/photos/summer/ottawa/
  • Bmkdir -R images/photos/summer/ottawa/
  • Cmkdir -p images/photos/summer/ottawa/
  • Dmkdir -P images/photos/summer/ottawa/
  • Emkdir -m images/photos/summer/ottawa/

Unlock 101-500 to see the answer

You've previewed enough free 101-500 questions. Unlock 101-500 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#mkdir#parent directories#directory creation#filesystem operations
Full 101-500 Practice