Windows: Has a complex and graceful shutdown process to make sure programs never close if there's a problem with them and your computer just stalls on shutdown until you hold down the power button and completely void out the purpose of the graceful shutdown.
linuxmemes
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 users for any reason. This includes using blanket terms, like "every user of thing".
- Don't get baited into back-and-forth insults. We are not animals.
- 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.
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, no politics, no trolling or ragebaiting.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. π¬π§ Language/ΡΠ·ΡΠΊ/Sprache
- This is primarily an English-speaking community. π¬π§π¦πΊπΊπΈ
- Comments written in other languages are allowed.
- The substance of a post should be comprehensible for people who only speak English.
- Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures
We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations. - Keep discussions polite and free of disparagement.
- We are never in possession of all of the facts. Defamatory comments will not be tolerated.
- Discussions that get too heated will be locked and offending comments removed. Β
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 remove France.
Ever tell a pc to shut down and come after work and it's still waiting for click a box.
Ever? Too many times. When I think I've told Windows Update "yes, do all the shit, yes it's fine, yes I'm sure, yes you can do it, yes I really want you to do it, yes I'm sure I really want you to, yes I'm sure I'm sure, yes for the umpteenth fucking time" and switched off my monitor to go home for the weekend, the number of times I've come in on a Monday morning just to find I have to click "yes" yet again then have to sit there watching it grind out its updates.
I just wish they'd add a checkbox, off by default, that says "yes you can do it all, just stop asking stupid fucking questions" that I can click and go home. But for some reason Microwank insist I have to sit there watching that fucking update percentage creep up then endlessly sit at "100% all is done, please wait" for no reason whatsoever.
Oh yeah and there always seem to be way more reboots needed when BitLocker is active. I'm sure 1 reboot is the norm with occasional 2's. But with BL it's usually 5-6 reboots.
I used to work at a place where MS would raise tickets with us and I always wanted to give them the WU treatment. But professionalism always got in the way of "This ticket is 100% complete, you must close and reopen it to continue".
Closing correctly means the program stops NOW
sudo reboot, that way the gui gets to die in a fire, too!
I've never seen anything graceful in windows
Windows: I refuse to shut down because of a, b , c
Me: But I already clos. . .
Windows: No you didnt't, stop lying!
Me : Well, I pressed the X and the window dissappeared.
Windows: Lol, noob. Did you never even heard of a task managers?
windows: "Can't shut down because of the 'Cant shut down' notice"
me: "but..."
"Mmm, that didn't work, try again later I guess? Just stop bothering me with your petty needs and get back to generating monetizable data that I can harvest."
If your code canβt handle a sig9 then your code is weak
sig 9 or sig 9mm - that's the question here
kill $SIGSAUER
-
Linux normally does a nice shutdown as well, unless you force it.
-
You can force it on windows if you really want.
I'm so tired of linux memes posted/made by people who don't know much about windows or linux.
You can force it on windows if you really want.
Please elaborate
Shutdown.exe -r -t 00 -f
Fast , no mucking around with graceful exiting of stuff. Kicks it in the teefs
Yeah this is more of a situation where because more applications are built for windows you're more likely to encounter poor quality application level software on windows than on Linux. Especially if you stay within the walled garden that most distros provide.
People see a pattern with having a lot more problems with applications on windows than they do on linux and wrongly assume it's because of the OS.
It's really silly since there's plenty of real bullshit going on with windows people could meme about. There's no need to make up shit about windows being bad at something it actually does ok with.
Absolutely, if people agree or not, the core windows is still a pretty powerful operating system. Its sad that they are ruining it by adding crap into it.
Linux does give every application time to shut down correctly, but unlike windows, it won't wait for ages until every process is down. Linux WILL shut down in a certain timeframe, whereas windows waits for years if necessary. In my old job, we all had to use windows and I had times where I clicked shut down, turned off my monitor, grabbed my stuff, left and in the next morning, the PC was still on because Notepad refused to just close lmao.
That is what infuriates me so much. Instead of just killing the process after 5 mins of waiting it just cancels the shutdown. Like fuck off with that shit.
REISUB. I own you machine, and you will do as I say. Reboot.
Linux gives processes a chance to gracefully close. However, it also will absolutely NOT allow a process to hang up the shutdown or restart procedure after a point. If you're using systemd (which there is a good chance you are), it'll count down. If the process hasn't stopped in the time allotted, it gets Old Yellered.
If your app doesnβt respond to SIGTERM gracefully, you need to fix your app. The system did its job as documented.
I hate this message
If you hit Ctrl Alt Delete very quickly in succession (I believe it's 7 times in a row) it will bail out from a stop job and proceed with shutting down
Learned that trick because I was so tired of seeing that occur ha. Along that research I swear I recall seeing that it's a KDE/SDDM issue but I might be getting some wires crossed on that (and thus, don't quote me/take my word on that π )
Linux is actually great if you need to implement graceful shutdown with signals -- I love it all around :)))
one of my favourite things when i switched to linux first was using the meta+Q hotkey to shutdown a program (this was with PopOS i think). with windows there is alt+F4 but some programs only use shift+alt+F4 which makes it a lot more confusing. on top of all that if youre using a laptop then its another keypress for the Fn key in some cases
Is this even true? I am fairly sure that Linux also has a graceful shutdown process, but I'll admit I haven't looked into it.
yeah we have SIGTERM for graceful and SIGKILL for not so graceful shutting down a process.
In order of decreasing politeness: 1, 2, 15, 9 = HUP, INT, TERM, KILL = "Please stop", "Quit it", "I'm warning you" and "BANG"
Fear will keep them in line
The kernel giveth, the kernel taketh away
$ kill -L
1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP
6) SIGABRT 7) SIGBUS 8) SIGFPE 9) SIGKILL 10) SIGUSR1
11) SIGSEGV 12) SIGUSR2 13) SIGPIPE 14) SIGALRM 15) SIGTERM
16) SIGSTKFLT 17) SIGCHLD 18) SIGCONT 19) SIGSTOP 20) SIGTSTP
21) SIGTTIN 22) SIGTTOU 23) SIGURG 24) SIGXCPU 25) SIGXFSZ
26) SIGVTALRM 27) SIGPROF 28) SIGWINCH 29) SIGIO 30) SIGPWR
31) SIGSYS 34) SIGRTMIN 35) SIGRTMIN+1 36) SIGRTMIN+2 37) SIGRTMIN+3
38) SIGRTMIN+4 39) SIGRTMIN+5 40) SIGRTMIN+6 41) SIGRTMIN+7 42) SIGRTMIN+8
43) SIGRTMIN+9 44) SIGRTMIN+10 45) SIGRTMIN+11 46) SIGRTMIN+12 47) SIGRTMIN+13
48) SIGRTMIN+14 49) SIGRTMIN+15 50) SIGRTMAX-14 51) SIGRTMAX-13 52) SIGRTMAX-12
53) SIGRTMAX-11 54) SIGRTMAX-10 55) SIGRTMAX-9 56) SIGRTMAX-8 57) SIGRTMAX-7
58) SIGRTMAX-6 59) SIGRTMAX-5 60) SIGRTMAX-4 61) SIGRTMAX-3 62) SIGRTMAX-2
63) SIGRTMAX-1 64) SIGRTMAX
I feel this meme was created by someone who didn't actually know Windows in depth and recently learned of the kill
command. Which by default just asks the process nicely to terminate itself.