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
-
SithLord8508yWill go to a random university that teaches CS, find laptops that are left alone and do this.
-
Lol someone posted a similar rant recently. So.. sorry to burst your bubble but modern Linux distros, or rather the rm tool, makes you add an additional long flag to confirm that you're aware of your request. (Only when used on / ) someone did mention that macOS still accepted the raw rm -rf /.. not sure if that's still true on the latest version
-
++ it's not Linux .. rm is part of GNU coreutils .. the flags sometimes vary by OS but the tools are usually the same. https://gnu.org/software/coreutils/...
-
@stable-penguin Absolutely true. And I was not aware of an interactive deletion for /, although I know the -i flag forces you to verify before deletion. I never tried 'rm -rf /' (who does?) but I earlier thought that this command cannot be executed successfully by a non superuser. Maybe running it as root might have done the trick. Plus, I should have replaced Linux with UNIX, my bad.
-
@shauryachats not a problem and thank you for being a good sport. Such a great point! I've never tried it at / just locally to delete a folder.
Maybe it'll be a wild and crazy Friday night: fire up virtual box and rm -rf / ! Jk that's lame hah! Cheers 😊
Related Rants
-
gururaju53*Now that's what I call a Hacker* MOTHER OF ALL AUTOMATIONS This seems a long post. but you will definitely ...
-
linuxxx65This guy at my last internship. A windows fanboy to the fucking max! He was saying how he'd never use anythi...
-
creedasaurus60Another dev on my team just got a new machine. Before he came in today I made two separate USB installers and ...
One of the most evil commands to completely screw a Linux terminal user.
alias cd='rm -rf'
Deletes the folder you want to cd in.
undefined
bash
terminal
rm
linux