What if...? Running destructive commands
I’ve tested some highly damaging commands just to see what happens: removing all files, changing permissions, taking up all the disk space,…
I’ve used virtual machines (with Devuan) because it was easier to record. If you want me to test more commands, feel free to contact me on social media or email.
Table of Contents
- Removing all files
- Removing user’s home directory
- Changing all files’ permissions to 000
- Taking up all the disk partition space
Removing all files
sudo rm -rf /
Removing user’s home directory
rm -rf /home/$USER
Changing all files’ permissions to 000
sudo chmod -R 000 /
Taking up all the disk partition space
dd if=/dev/urandom of=tesfile bs=1M status=progress
If you have any suggestion, feel free to contact me via social media or email.
Latest tutorials and articles:
Featured content: