You literally kill/xkill/killall the program.
In As400, you type PWRDWNSYS *IMMED.
Then you pray it comes back up in a timely manner.
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.kill -9
does not ask nicely
Laughs in Sierra
elaborate please
old sierra DOS games, uh, they fucked up the code when exiting so they’d just crash. so they changed the error code to say “thanks for playing Kings Quest” or something similiar
Linux is actually great if you need to implement graceful shutdown with signals – I love it all around :)))
To the people complaining Windows has an aggressive method. Sure but I didn’t know about it till now. Task manager didn’t make it obvious to me and so I didn’t know about it till now (and everyone keeps talking about commands and shutdowns so it doesn’t even sound like you can do it through task manager). Linux’s system manager did and I have known about it since first using Linux (about half a year ago now)
Personally, I find xkill quite graceful.
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.
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”.
Fear will keep them in line
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.
I should probably sigterm instead of sigkill, but it sounds far less cool
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.
Depending on the use case, that can be a good thing or a bad thing
I don’t want my IDE with hours of work to just shut down forcibly.
Then you might not want windows cause Windows forces updates on you whether you want them or not and break things. Linux will happily wait for you to forget for so long it breaks because the target API doesn’t accept your old ass code anymore. At least in Linux as long as I don’t forget I’m good. I sometimes forget
TBF there are ways to completely disable updates in Windows (I just did in my VM because it should literally only run 3 programs which are not working with wine)
then surely you would not have asked your OS to shutdown? linux does what you ask
Shouldn’t be the default though.
Ha, you want choice in how your OS functions?
Here, have another bing toolbar for your settings app.Man I hope next time I press windows and type an application by name, or by executable.exe I get a spinning icon then a stack of unrelated web results that are probably malware.
The kernel giveth, the kernel taketh away
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.
Question, what’s the default wait time?
The default in systemd, unless your distribution has modified it either globally, or for a specific service, is 90 seconds
Depends on the process. Can be 30 seconds. Can be 5 minutes.
When I use systemctl shutdown it happens instantly
If a process closes immediately from the shutdown command because it isn’t doing anything, sure.
i mean
I like it. Simple but effective.
deleted by creator
Be careful cutting any multi-conductor cable with scissors, there is a solid chance you short the conductors to each other when doing so.
Great way to damage a power cable.
We should start clamping little handles to them.
Old wives’ tale. I’ve only ever yanked power cords out of the wall and I’ve yet to have one go bad on me.
My ex: what charging cables do you have? They last forever, mine break after a year!
Also my ex: so I got a bunch of the same charging cables you have and they all broke after a yearThe type of case that plug has in the stock photo is not coming apart without extreme violence.
REISUB. I own you machine, and you will do as I say. Reboot.
KILL KILL KILL
Nothing is graceful about Windows. [=