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

Dir
Mkdir
Md
Both b and c

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

Exit mobile version