File management · Question 3 of 12

What does mkdir -p a/b/c do if none of the directories exist yet?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • C It creates a, a/b and a/b/c in turn

Explanation

-p (parents) also creates missing parent directories and reports no error if a directory already exists.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications