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
-
Now I get why people call Windows idiot-proof, Windows asks you 20 times if you're sure you want to do it and puts it in the recycle bin, Linux is just "rm -rf? sure thing fam".
-
install "trash-cli". It will put it in the trash, and you can restore things easily.
-
@sudo-woodo As root, in a terminal. Most usual people won't go there or even find it and know how to do that.
Also, Linux does ask but this command contains the 'f' parameter which overrides that choice by default (force).
Isn't it common sense to check what the fuck you're about to remove? -
@linuxxx I wanted to delete an entire subfolder inside /etc and realized I forgot to type the rest of the path just before hitting enter, hence the almost in almost nuked. Definitely going to be more cautious from now on though.
-
@sudo-woodo Yeah I've nearly done that 😄 usually I don't use the 'f' flag on prod systems!
-
irene33945y
Related Rants
Day 2 of having to use linux at work and I almost nuked the /etc folder.
what a good start
rant
rm -rf