7 points on A joke... in !linux@lemmy.ml · 5d
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
7 points on A joke... in !linux@lemmy.ml ·
This deletes everything in root; a great way to break your OS and lose all data too.
OP meant to run
Note the period, which represents the current directory. So this deletes everything in the current directory instead of the entire filesystem