Multiple choice technology operating systems

How do you create a new directory called "flower"?

  1. newdir flower

  2. mkdir flower

  3. crdir

  4. mkdir

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The mkdir command in Unix creates a new directory. You must specify the directory name as an argument, so 'mkdir flower' creates a directory called 'flower'. Option D is incorrect because it's missing the directory name argument. Option A (newdir) and C (crdir) are not valid Unix commands.