Follow-up from “Dumbest Thing you have done distro-hopping?”.
Here’s mine - the laptop from which I’m typing right now has a broken touchpad that keeps jumping and clicking randomly, and does not work. Well, I can’t afford to fix it, but at the moment, I was so pissed off I punched the touchpad really hard, and the machine panicked with all the lights blinking. A few more revival abuses, and the machine was back to life, but since I was running a nixos-rebuild switch --upgrade
in the background, I blew off my boot partition. I think I just broke the unbreakable distro.
What does that do, is this a del * equivalent?
Your essentially telling your terminal to delete everything starting at your home directory, folder structure be damned
~
is a “aliás” to your user home directory. If you are anywhere and want to copy something into your documents folder you can docp file.txt ~/Documents
instead ofcp file.txt /home/username/Documents
So by typing rm
~
it actually deleted the/home/username
directory instead of the~
file in it.I think
rm '~'
does delete the file.