sudo rm -rf /

What happens when you delete linux root director??

I was very curious to know what happens when linux root directory is deleted. So, I setup a virtual box with ubuntu 18.04 and tried it.

Not all the directories or files are deleted, few still remain showing:

  • Operation not permitted or
  • Function not impelemented

After the sudo rm -rf / execution, except cd most of the commands are unavailable.

Comments are closed.

Create a website or blog at WordPress.com

Up ↑