Here's what happens when you run sudo rm -rf / in Linux?

Опубликовано: 01 Октябрь 2024
на канале: It's FOSS - Linux Portal
15,625
378

The following stunt has been performed by a highly trained Linux professional in carefully created virtual environment.

Please don't try this at host.

Just kidding, folks 😄

I did a simple video in a virtual machine to show you what would happen if you run sudo rm -rf / --no-preserve-root on your Linux system.

By now, you already know that this is a dangerous command that should be avoided. The danger part is / actually which is the symbol for the root directory.

For more details, please check out this text article: https://itsfoss.com/sudo-rm-rf/