3 points

nixos peeps: 😎

permalink
report
reply
23 points
*

Also, remember to empty your recycle bin by doing sudo rf -rm /usr/bin, and don’t forget the super recycle bin for hidden super garbage sudo rm -rf /usr/sbin

permalink
report
reply
21 points

I’ve never actually tried this but feel like rm should have a built in warning specifically for that command letting them know they’ve been trolled and have a y/N prompt.

permalink
report
reply
4 points
*

Come on, it is super fun. Just install VirtualBox and set up a virtual machine, make sure there is no funky mount point that touches your host machine, and go nuke that VM !

permalink
report
parent
reply
0 points

You can create an alias in “.bashrc” just in case.

permalink
report
parent
reply
25 points

There kind of is one, but it is overridden by -f

permalink
report
parent
reply
12 points

You also need the flag “–no-preserve-root”.

permalink
report
parent
reply
15 points

No you don’t.

rm -fr / requires the flag, but rm -fr /* does not.

permalink
report
parent
reply
5 points

I think that is only if you pass /, I don’t think the flag is required for /* which is what is shown here - if I remember right, it’s because the * triggers the shell to expand the paths and that flag is only built to protect / (from say, having an empty variable alongside /).

permalink
report
parent
reply
40 points

I think that was a load-bearing language pack - my entire system has caved-in!

permalink
report
reply
19 points

Didn’t know we could say the f-word on Lemmy

permalink
report
reply

linuxmemes

!linuxmemes@lemmy.world

Create post

I use Arch btw


Sister communities:
Community rules
  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

Community stats

  • 7.7K

    Monthly active users

  • 1.3K

    Posts

  • 69K

    Comments