this post was submitted on 25 Sep 2023
1211 points (100.0% liked)
linuxmemes
21180 readers
819 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
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!
founded 1 year ago
MODERATORS
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]
And I think it’ll remove “rm” and keep right on going because Linux copies commands to ram then runs them, yeah?
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...
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
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.
If your computer is doing puzzles while running the mindless tasks you assign it…. I suggest maybe finding more stimulating tasks. Just saying… ;)
If Linux was an alcohol commercial: (NSFW) https://youtu.be/BcjKTDIRCKI?si=msp_CTu5BcCeQ-XZ
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.