Which command creates a directory or subdirectory? A. Dir B. Mkdir C. Md D. Both b and c

[amp_mcq option1=”Dir” option2=”Mkdir” option3=”Md” option4=”Both b and c” correct=”option4″]

The correct answer is D. Both b and c.

The mkdir command is used to create a directory or subdirectory. The md command is a synonym for mkdir.

For example, to create a directory called my_directory in the current directory, you would use the following command:

mkdir my_directory

To create a directory called my_subdirectory inside the directory my_directory, you would use the following command:

mkdir my_directory/my_subdirectory