Multiple choice technology operating systems

You attempt to remove a directory, but Linux won't allow you, what is the most likely problem?

  1. The directory name contains illegal characters

  2. You are not logged in as root

  3. The hard disk is full

  4. The directory is not empty

  5. None are likely problems

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

In Linux, the standard rmdir command will fail with an error if the target directory is not empty. To remove a non-empty directory, one must use rm -r. Other options like disk space or root privileges are less common default blockers.