D

Dhruva Jagannath • 660 Points
Invincible

Q. What is the effect of using 'rm -rf /' as root?

  • (A) Deletes the /tmp directory
  • (B) Formats the disk
  • (C) Deletes all files and directories on the system
  • (D) Nothing
  • Correct Answer - Option(C)
  • Views: 6
  • Filed under category Linux
  • Hashtags:

Explanation by: Dhruva Jagannath
'rm -rf /' will recursively and forcefully delete all files and directories from root, destroying the system.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.