Things you should not do on Linux terminal
Some times I do stupid things only to fix some other stupidities. Here some examples of unpleasant moves:
sudo mv /lib64 /li64
As a result you can not execute a command anymore. When rebooting you will end up in kernel panic. Confirmed 'working' on Debian Bookworm.
Boot from another drive and rename the directory(link) back to /lib64.
sudo mv /li64 /lib64
:(){ :|:& };:
can crash your linux system as non root user
rm * -rf
Using command history allot, I (as root) accidental ended up removing *
in /
.
Do not use rm * -rf
.
Do not use root
user whenever possible.