Multiple choice technology operating systems

Command to remove directory which is having few files inside.

  1. rmdir

  2. rm

  3. rm -r

  4. None

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

The rm -r (recursive) command is used in Unix/Linux to remove a directory along with all of its contents, including files and subdirectories.