this post was submitted on 25 Sep 2023
1091 points (92.0% liked)
linuxmemes
21378 readers
2053 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!
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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.