Multiple choice technology operating systems To remove a NON-empty directory, this command is used. remove -all rm- a rm -r rm Reveal answer Fill a bubble to check yourself C Correct answer Explanation The 'rm' command with the '-r' (recursive) flag is used to remove a directory and all of its contents, including files and subdirectories. The 'rmdir' command only works on empty directories.