Which command is used to create a directory? A. crdir B. md C. mkdir D. cr E. None of the above

[amp_mcq option1=”crdir” option2=”md” option3=”mkdir” option4=”cr E. None of the above” correct=”option3″]

The correct answer is C. mkdir.

The mkdir command is used to create a directory. It takes one or more directory names as its arguments. For example, to create a directory called “new_directory”, you would use the following command:

mkdir new_directory

The mkdir command is available on most Unix-like operating systems, including Linux, macOS, and FreeBSD.

The other options are incorrect.

  • A. crdir is not a valid command.
  • B. md is a valid command, but it is not used to create a directory. It is used to create a file.
  • D. cr is not a valid command.
  • E. None of the above is the correct answer.