Which of the following command is used to remove a directory ?

[amp_mcq option1=”md” option2=”rd” option3=”cd” option4=”nd ” correct=”option2″]

The correct answer is (b).

The rd command is used to remove a directory. It is a recursive command, which means that it will remove the directory and all of its contents.

The md command is used to create a directory.

The cd command is used to change the current directory.

The nd command is not a valid command.

Exit mobile version