Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
oh shit. yeah that is a downside of linux being so efficient in file io... if you type the wrong command in just the right directory, damage beyond compare.
-
So effective!! Took me about 5 seconds to realise my mistake. After ctrl c it, these were the results: level 1 files were not deleted, most recent folders were gone, that's downloads, documents, images and desktop. I don't know what else was deleted but Dolphin (I use Kubuntu) glitched like what happens when you reload the compositor or do a kwin --replace. I mkdir the folders and Dolphin worked again, but the thanos effect had already been done
-
@geneticCode yep ye olde bash is unforgiving
You might try to protecting your most important files by turning on the sticky bit. I forget the chmod string but once set you literally can’t delete these files without unsetting it -
Tonnoman6264y@JustThat I guess you could just alias one to the other to force it into your habit, though you should probably learn to actually just use -f, because next time you're not on a machine with that alias set up it's gonna fuck you up again
-
@Tonnoman0909 maybe a script that calls you a retard when you specify -rv *
He could rebuild rm or bash with
An exception
I forgot to cd out of home and I rm -rf *
:/
rant