this post was submitted on 25 Sep 2023
1140 points (92.3% liked)

linuxmemes

20880 readers
4 users here now

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!

founded 1 year ago
MODERATORS
 

Re-creation of someone else's post because the original was removed and I found it funny when I first saw it

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 1 year ago* (last edited 1 year ago) (4 children)

How is letting you brick your install with little warning an advantage?

rm -rf / you dont have permission to do that.

sudo rm -rf / [linux dutifully commits sudoku until rm itself is gone]

[–] [email protected] 11 points 1 year ago (2 children)

And I think it’ll remove “rm” and keep right on going because Linux copies commands to ram then runs them, yeah?

[–] [email protected] 4 points 1 year ago

Oh yeah. I've done it just for fun before reimaging a machine. It will mostly complete (some stuff isn't a real file so rm just fails), and your desktop environment will remain up and running while it happen. Then errors start popping up, icons stop working, nothing loads anymore, you can't reboot or shutdown because those were actually commands, and they're missing now...

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Hmm I mean Ive never done it for obvious reasons but maybe? live cds/dvds load the whole OS in RAM and could erase everything but I am not sure about the OS on disk. I could try it in a vm and see what actually happens

[–] [email protected] 5 points 1 year ago

Yes, it's copied to ram. Which is also the reason you don't need to stop programs while live updating them.

The new version is only again copied from disk, when you start it at a later time.

[–] [email protected] 3 points 1 year ago
[–] [email protected] 3 points 1 year ago

If your computer is doing puzzles while running the mindless tasks you assign it…. I suggest maybe finding more stimulating tasks. Just saying… ;)