Multiple choice technology operating systems

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

  1. mkdir flower

  2. makedir flower

  3. newdir flower

  4. crdir flower

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

The mkdir command creates a new directory. The syntax is 'mkdir directoryname'. Other options like makedir, newdir, and crdir are not standard Unix/Linux commands. mkdir can also create nested directories with the -p flag.

AI explanation

mkdir flower is the standard Unix/Linux (and Windows) command to create a new directory named 'flower' — 'mkdir' literally means 'make directory' and takes the desired directory name as its argument. 'makedir', 'newdir', and 'crdir' are not real shell commands; they're plausible-sounding but fictitious distractors.