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

crdir
md
mkdir
cr E. None of the above

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.