Multiple choice technology operating systems

To remove a NON-empty directory, this command is used?

  1. remove -all

  2. rm -dr

  3. rm -r

  4. rm -a

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In Unix/Linux, the rm command with the -r (recursive) flag is used to remove a directory along with all of its files and subdirectories.