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
-
Root825994yalias rm=“rm -ri --”
If you want to delete forcefully or quickly, you’ll have to use your head, or start a new shell and temporarily unalias `rm`. Both should give you pause and force you to take the time to make sure you’re doing what you think you’re doing. -
NoMad141764yNever ever remove directly.
Always move shit to a "tmp_trash" folder elsewhere and when you made sure everything is fine, then remove the tmp_trash contents. You could even alias that so you're sure you're just emptying that one folder's content. -
I rm -rf often, but I always double check the path before hitting enter. (98% of the time, I’m just deleting node_modules/)
Related Rants
-
Ajite18New colleague in the office. Him: How do you rename a file in terminal? Me: Just sudo rm <filename>, rm stand...
-
whocares18- Why did this rm command take 2 seconds? - OH FUCK....
-
cdrice15Received "emergency update" code from internal enterprise security team. Wasn't given time to do code review; ...
One shouldn't use 'rm -r' late at night -_- just deleted my entire NAS storage thinking I was in another directory
rant
rm
nas