this post was submitted on 25 Sep 2023
1121 points (92.2% liked)

linuxmemes

21378 readers
1956 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    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
    [–] xkforce@lemmy.world 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]

    [–] Romanmir@lemmy.today 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?

    [–] gizmonicus@sh.itjust.works 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...

    [–] xkforce@lemmy.world 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

    [–] Ooops@kbin.social 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.

    [–] FuglyDuck@lemmy.world 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… ;)

    [–] theluckyone@lemmy.world 3 points 1 year ago (1 children)
    [–] PipedLinkBot@feddit.rocks 0 points 1 year ago

    Here is an alternative Piped link(s):

    https://youtu.be/BcjKTDIRCKI?si=msp_CTu5BcCeQ-XZ

    Piped is a privacy-respecting open-source alternative frontend to YouTube.

    I'm open-source, check me out at GitHub.