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

md
rd
cd
nd

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