minus-squaretyranover@lemmy.blahaj.zonetoLinux@lemmy.ml•A joke...linkfedilinkarrow-up8·12 hours agorm -rf /* This deletes everything in root; a great way to break your OS and lose all data too. OP meant to run rm -rf ./* Note the period, which represents the current directory. So this deletes everything in the current directory instead of the entire filesystem linkfedilink
rm -rf /*This deletes everything in root; a great way to break your OS and lose all data too.
OP meant to run
rm -rf ./*Note the period, which represents the current directory. So this deletes everything in the current directory instead of the entire filesystem