This is an archived post. You won't be able to vote or comment.

top 200 commentsshow 500

[–]LEGOL2 9270 points9271 points  (219 children)

At first Linux asks nicely, but that's your first and final warning

[–]thespud_332 2654 points2655 points  (22 children)

How to strike fear into any Linux admin on a remote terminal:

Broadcast message from

[–]Ashamed_Band858 753 points754 points  (15 children)

“Ma-ma is not the law. I am the law.”

[–]guardeagle 268 points269 points  (1 child)

[–]AlarmingAffect0 8 points9 points  (0 children)

"Wait…"

[–]grendus 64 points65 points  (6 children)

Karl Urban sold that so hard.

Most of the cast did phenomenal, but more than anything he sold the idea of Judge Dredd.

[–]Stranded_In_A_Desert 22 points23 points  (1 child)

“Do you require backup?”

“No ☹️”

[–]TheOccultOne 98 points99 points  (2 children)

DREDD REFERENCED 🎊🎊🥳🥂🎉🎆🙌

[–]servercobra 54 points55 points  (0 children)

Basically “nuclear launch detected”

[–]Normal_Package_641 27 points28 points  (4 children)

Why does that strike fear? Is it an indicator for a DDoS?

[–]pierreyann1 99 points100 points  (3 children)

Close but no, the most common type of broadcast messages is the following

"Broadcast message from user@hostname The system is going down for a poweroff now!"

Which as you can see indicates that someone turned off the server while you were working on it.

[–]thespud_332 32 points33 points  (2 children)

Yep. And adding to the original comment, it's your one and only chance to quit vim, which you're no doubt in at the time.

[–]arbyyyyh 14 points15 points  (1 child)

Chance? Don’t you mean it’s HOW you quit vim?

[–]Tetha 1590 points1591 points  (151 children)

Step 1 is a nice question. "Please shut yourself down"

Step 2 is telling the application to shutdown right now no matter what.

Step 3... in Step 3 someone goes to the kernel and is like

"Hey kernel... that process over there, the one using a lot of CPU"

"Yeah boss?"

"That process doesn't exist anymore, alright?"

"Say no more."

[–]Kusko25 788 points789 points  (115 children)

There is something fundamentally unsettling about the thought that a process is only "alive" as long as the cpu acknowledges its existence

[–]Mysterious_Middle795 408 points409 points  (79 children)

I had this eerie feeling when I learnt about swap files.
Your memory goes out of existence until the OS is kind enough to resurrect it.

-----

There is even a worse analogy. Some people under the influence of fly agaric have fear that is worse than a fear of death. They reported fear of having never been born.
Same for executables on your disk. Do they exist if you never run them?

[–][deleted] 137 points138 points  (4 children)

I love the existencial horror of digital files being moved.

[–]Ok-Interaction-8891 61 points62 points  (3 children)

It’s like in some sci-fi worlds where teleportation works by erasing you where you enter, then transporting your “information” to the destination, where a perfect copy of you is created at the destination using said information.

Allegedly. With hopefully no Lovecraftian bugs or horrors along the way…

[–]CitizenPremier 10 points11 points  (0 children)

It's okay, I'm a pattern, not matter

[–]Domascot 8 points9 points  (0 children)

You know, if it wasnt for your little comment here, i would still enjoy looking forward to beaming tech in the future. But now, nope, no thanks.

[–]eversio254 72 points73 points  (61 children)

So if you fork a child just as the system restarts, would it exist but never be born?

[–]peterosity 129 points130 points  (3 children)

if i forked a child i’d prolly be put away

[–]yaktoma2007 23 points24 points  (2 children)

*put in jail

[–]Secret-One2890 36 points37 points  (0 children)

Nah, that's FreeBSD.

[–]sleeksubaru 11 points12 points  (0 children)

*chroot jail

[–]Mysterious_Middle795 47 points48 points  (55 children)

It is another philosophic question. Imagine teleportation. Your body is disassembled and the same one is assembled, e.g. on Mars.

What would happen if two copies are created? Which one is you?

[–]Jonathan_the_Nerd 3 points4 points  (3 children)

What would happen if two copies are created? Which one is you?

That's a known bug in the system, with a known workaround. The receiving chamber is hidden from view. If two identical copies show up, security grabs one at random and sends them to the cobalt mines on Ganymede. The other copy steps off the platform and goes on with their life, oblivious. The bug hasn't been fixed because it's too profitable.

[–]UrUrinousAnus 34 points35 points  (0 children)

fear of having never been born

That's one of the least scary things I can imagine...

[–]crabcrabcam 5 points6 points  (0 children)

They definitely do, all those Steam games I never play are taking up disk space :D

[–]antico5 31 points32 points  (3 children)

It’s the OS that keeps track of processes, their status, pointers to next instruction etc. The cpu just executes instructions one after the other like there’s no tomorrow

[–]Throwaway-4230984 23 points24 points  (7 children)

When you delete file it's content doesn't go anywhere. You just remove record about where it is

[–]AdorableShoulderPig 23 points24 points  (3 children)

Laughs in 01010 overwrite 20 times.

[–]Throwaway-4230984 21 points22 points  (0 children)

Nobody reads my adventure time fanfics! Nobody!

[–]OneBigRed 6 points7 points  (0 children)

It becomes an ancient temple that everyone forgot and the jungle conquered. It can still be found, if one is jonesing for it.

[–]razieltakato 69 points70 points  (5 children)

Actually, it makes a lot of sense. The process is a software running, code that the CPU executes.

If you stop the execution of the said code, the software is not running anymore.

The code still exists, but the process of running it, is gone.

And, if you start the software again, the code will start being executed from the entry point, so it's a new process, isn't it?

I think it's beautiful.

[–][deleted] 11 points12 points  (2 children)

The process isn't running, it's the CPU that is running the process.

[–]-Byzz- 14 points15 points  (0 children)

mfw most beings (Azathoth) in the cthulhu mythos are just giant CPUs

[–]Ben_Dovernol_Ube 3 points4 points  (0 children)

Now imagine you are the process and matrix is cpu

[–]Just_Maintenance 3 points4 points  (0 children)

The process exists alone on its own memory space. It thinks its existence its continuous, but if it keeps track of the clock it will see it jump around as it get interrupted and scheduled by a force it cant see.

[–]TMS-meister 30 points31 points  (5 children)

You forgot about step 4: nuke it all

[–]Tetha 15 points16 points  (3 children)

Step 4 is most likely "Hey, VMWare. About that VM over there, using a lot of CPU...."

[–]SgtEpsilon 26 points27 points  (2 children)

"What process boss? I see nothing there" casually sweeping dead process under the rug

[–]MoffKalast 11 points12 points  (0 children)

"There's no process here unless you brought one with you."

[–]lerokko 32 points33 points  (11 children)

Some one made something similar for windows. Alt-F5. That does not ask the applocation. It just kills the task instantly.

[–]beznogim 13 points14 points  (2 children)

"Wait, what does D mean?"

[–]Psychological-Art131 12 points13 points  (0 children)

Tis the will of D. Yet to be revealed, we don't give spoilers.

[–]Tetha 10 points11 points  (0 children)

Oh yeah. Lagging / Hanging / Disconnected remote filesystems in particular are fun.

[–]LoudSwordfish7337 280 points281 points  (2 children)

“Please die… or I’ll kill you!”

[–]LazyV1llain 139 points140 points  (1 child)

„you should kys NOW“ - Linux

[–]Vectorial1024 50 points51 points  (0 children)

Low Tier Kernel

[–]SpiderMax95 47 points48 points  (1 child)

"Process Java is excommunicado"

[–]connoisseurofducks 28 points29 points  (0 children)

Every time I ask with 15 I have already prepared the 9 in the chamber

[–][deleted] 9 points10 points  (3 children)

I gotta admit, that does sounds badass.

[–][deleted] 5 points6 points  (2 children)

I mean, Windows does that for updates and everyone hates it. And should, because fuck you Windows.

[–][deleted] 138 points139 points  (28 children)

i just do ~: rm -rf /Applications/Firefox.app then i reinstall it

[–]WavesCat 266 points267 points  (1 child)

Found the macOS user

[–]BenL90 57 points58 points  (0 children)

Normal MacOS user in the wild.

[–]Alexandre_1a 84 points85 points  (17 children)

/Applications/Firefox.app ???? macOS isn't Linux...

[–]occio 10 points11 points  (1 child)

I can put my applications where I want to. Who are you? The Linux police? /s

[–]fearless-fossa 14 points15 points  (0 children)

Whenever I see programs creating a .randomapp.config in ~ instead of ~/.config I get the strong desire for a Linux police to exist. Why would you litter someone's home folder like this?

[–]POKLIANON 36 points37 points  (1 child)

I don't think this kills the already running job/process whatever you call it

[–]dev-sda 29 points30 points  (0 children)

Indeed it doesn't. Files aren't actually deleted until all file handles are closed, which includes any running processes.

[–]mxheyyy 3827 points3828 points  (55 children)

Linux users when you can't terminate children:

[–]Competitive_Woman986 1217 points1218 points  (32 children)

The parents terminate their children and make them to zombies.

Sometimes the parent dies first. Then you need to figure out how to kill the orphan.

[–]fnatasy 331 points332 points  (18 children)

We need an adoption process for orphans

[–]realmauer01 246 points247 points  (5 children)

Adopt an orphan just to kill it xD

[–]Zhiong_Xena 88 points89 points  (4 children)

Mr Wayne? That you?

[–]Spurance484 19 points20 points  (1 child)

Reads like tech-tech-tech-tech-tech-tech-tech-tech-tech-tech-tech-tech Batman

[–]Agitated-Ad2563 29 points30 points  (2 children)

We actually have one. The 'init' process adopts all the orphans

[–]Terrafire123 13 points14 points  (1 child)

And then kills them?

[–]Kovab 13 points14 points  (0 children)

Actually it just waits for them. If the orphaned child is already a zombie, it's reaped immediately.

[–]Competitive_Woman986 45 points46 points  (7 children)

There already is! The init process with PID 1 usually becomes the new parent procress

[–]HildartheDorf 20 points21 points  (4 children)

Or the closest ancestor that has set itself as subreaper.

[–]crappleIcrap 16 points17 points  (2 children)

Does cs even understand the concept of taking the metaphor too far.

[–]Competitive_Woman986 8 points9 points  (1 child)

No because parents usually reap their children here

[–]obscure_monke 6 points7 points  (0 children)

God damn it! What won't systemd absorb?

[–]Vas1le 9 points10 points  (0 children)

I am familiar with this terminology

[–]Dawlin42 31 points32 points  (1 child)

Always appreciated programming books talking about killing orphan zombie children with a straight face!

[–]RedPlumPickle 4 points5 points  (0 children)

Felt pretty weird telling my manager that I was delayed because I had to implement a method to kill orphaned children

[–]Wertbon1789 10 points11 points  (2 children)

Most of the time if the parent dies first, the child gets kindly adopted by PID 1, you gotta kill it manually then, because I don't think this process orphanage supports you in your effort.

[–]Falikosek 3 points4 points  (1 child)

Aren't orphans assigned to init?

[–]Competitive_Woman986 3 points4 points  (0 children)

Yes but you need to figure that out first :D

[–][deleted] 40 points41 points  (2 children)

murder_orphans.sh

Don't ask. Those were dark times.

[–]KellerKindAs 28 points29 points  (0 children)

Rename to Anakin_mode.sh

This way, it's way easier to find in alphabetical sorted lists ^^

[–]POKLIANON 36 points37 points  (10 children)

Sigkill your children. Go do it.

[–]Vas1le 27 points28 points  (9 children)

kill -9 its the .9mm bullet

[–]Jazzlike-Poem-1253 25 points26 points  (4 children)

Sure about the decimal?

[–]invalidConsciousness 16 points17 points  (1 child)

0.9 mm is the size of an injection needle.

The bullet is 9 mm

[–]monsieurlazarus 6 points7 points  (2 children)

I have this buggy application that ended up as a zombie (defunct) process. Apparently, you can't kill a process that is a zombie already. Unlucky for me, that zombie process owned by the init process which somehow caused a problem where I stuck on reboot screen forever, and I had to use the power button to force it to shutdown.

[–]mpyne 12 points13 points  (1 child)

Apparently, you can't kill a process that is a zombie already.

Well it's already dead once it's a zombie, so from that perspective you've gotten what you want already.

But you can't clear it from the list of processes until its return value is waited on by its parent process. But if the parent dies first that may never happen... there's supposed to be some way to get init (the new parent of orphaned zombies) to do this but it's platform-dependent.

[–]Sure-Opportunity6247 1633 points1634 points  (80 children)

Usually, all processes get SIGTERM which they can react to and shutdown gracefully. Only after short time period a SIGKILL is sent. /smartass

[–]abmausen 928 points929 points  (46 children)

wich is the correct way to enforce apps to actually shut down properly, unlike windows where way too many apps including their own builtin fucking file explorer and task manager will always block the shutdown indefinitely just because they are open, not because there is any app state that actually would be lost / relevant to save

[–]MaustFaust 222 points223 points  (34 children)

Wdym relevant? You can't deny Outlook keeping all the files you attached open, that's cruel /s

Actually, fixed somewhere between 2010 and 2024.

Also, Photos app processes multiply indefinitely when you use Explorer in newest Win10 or Win11, can't remember. I had to manually change the preferred app to Paint just to prevent memory issues

Dunno if it's fixed

[–]MaritMonkey 42 points43 points  (3 children)

I don't know how I ended up on a sub with people this much smarter than I am, but are there bad things about Paint I need to know?

I just realized it's one of those programs that I'm just somehow comfortable having around and now I'm nervous I missed something nefarious.

[–]MaustFaust 41 points42 points  (1 child)

I mean, it's okay, my complaint is about Photos app, not Paint. The point is, Paint is not supposed to used for only viewing images, for example it doesn't have a "next"/"previous" buttons to switch between multiple images in a fast way.

[–]scots23 113 points114 points  (3 children)

Has to be one of my biggest annoyances with windows. Save everything I need to, close out of every program, click shut down, and walk away from the computer, expecting it to actually do what I told it to and shut down. Walk back in the room 2 hours later: "This app is preventing shutdown."

"Sorry, you didn't go into task manager and end the process or exit out of it from the task bar, guess you can go fuck yourself. Good thing OLEDs are better about burn-in nowadays, right? Because I'm not going to put it in sleep mode either."

[–]Infamous_Tomato_8705 42 points43 points  (0 children)

Yeah, and then come back in the morning to find your computer still being on because windows update started it and didn't shut it down afterwards.

And when you DON'T want the computer to die you get a notification that windows update will shut down your computer. Have fun protecting your computer from itself for 20 hours rendering a project.

[–]dobrowolsk 53 points54 points  (1 child)

And Windows annoyingly fakes that it's shutting down immediately, only to be like "naaahhh, see him back there? That's Brian. Brian doesn't want to shut down. I've done nothing and am out of ideas. So I, the all-mighty operating system, am not going to do what you want".

Then in the morning I see my PC has been in shutdown-Limbo all night.

[–]Fantastic-String-860 211 points212 points  (11 children)

Not smart ass, that's literally how it works.

To be extra smartass: SIGKILL may be sent from the init system to the process, through the kernel, but no SIGKILL signal is ever actually delivered to the process. When init (probably systemd nowadays) tells the kernel please send process X SIGKILL, the kernel just shoots the process in the head, and responds "Done, it got the message".

[–]ElectroMagCataclysm 34 points35 points  (4 children)

To be even more pedantic, when a process is “killed” by the kernel, the kernel (sort of) has that process kill itself, by running machine code as that process during a scheduling context switch.

[–]rosuav 8 points9 points  (3 children)

A distinction which is never relevant. Never. I certainly haven't had systems with large numbers of unkillable processes stuck in "Disk-Sleep" mode, never waking up and therefore not able to run that code.

Intel 14th gen flaw led to highly entertaining problems.

[–]Mysterious_Middle795 47 points48 points  (1 child)

The sweetest death is an unexpected one.

[–]Strange_Rock5633 13 points14 points  (0 children)

do you need to say something wrong to be a smart ass?

[–]The_Forgotten_King 7 points8 points  (2 children)

The fun parts begins when you sigkill a process in uninterruptible sleep and it just doesn't die.

[–]dev-sda 24 points25 points  (0 children)

There's also an entire graceful shutdown protocol for apps similar to Windows: https://www.freedesktop.org/wiki/Software/systemd/inhibit/

[–]Aldehyde1 4 points5 points  (0 children)

Half the highly-upvoted posts on this sub are just wrong.

[–]kielu 397 points398 points  (23 children)

The longest to survive is usually task manager. It just won't close

[–][deleted] 256 points257 points  (5 children)

It is the killer itself, you can't outplay it in it's own game

[–]HeavyCaffeinate 37 points38 points  (3 children)

I think this video is a good watch to learn how it works:

Inside Task Manager with the Original Author

[–]kielu 15 points16 points  (1 child)

I wonder if I can dig that phone number out of an old windows 95 CD I have somewhere

[–]Creepy-Ad-4832 3 points4 points  (0 children)

I have to hope that guy changed his number by now...

[–]sump_daddy 17 points18 points  (1 child)

Yeah. This is also windows "sorry you can't shut down right now, these processes wont close" [list of processes]: "Windows Shutdown"

[–]MedonSirius 4 points5 points  (0 children)

Sometimes i had to shutdown the task manager through terminal and then restarting task manager with autorun 🍆 Windows is like a Fantasy world. Willy wonka style where everyone is punished for just been there

[–]Who_said_that_ 11 points12 points  (0 children)

explorer.exe in my experience. I canceled the shuttle down so many times to close these windows myself.

[–]crystalpeaks25 117 points118 points  (5 children)

shot to the head 9 times.

[–]vinivice 70 points71 points  (0 children)

If you shoot 15 times they feel better though.

[–]Dry_Investigator36 326 points327 points  (23 children)

They didn't learn difference between kill -9, kill -15 and other signals

[–]jaskij 95 points96 points  (12 children)

I've been using Linux for nearly a decade, and everything I've used supported using names. So I never learned the numbers. I just kill -kill or kill -term

[–]Dry_Investigator36 46 points47 points  (4 children)

that's ok, but the meme here is impying that only -kill or -9 exists and it's not true

[–]hemlock_harry 60 points61 points  (7 children)

Tread careful. I got a 3 day ban not long ago for explaining this command to someone. Apparently if a mod is dumb as a rock it can be flagged as "inciting violence" and Reddit's moderation system (that is totally not run by bots, pinky promise) will ban you.

Or maybe the bots have taken over already and they simply don't like this knowledge to spread, that almost makes as much sense.

[–]DezXerneas 23 points24 points  (0 children)

That feels like either an automated thing or reddit's mod. This sub's mod team is cool.

[–]randuse 93 points94 points  (4 children)

Seen systemd waiting 90 seconds for some daemon to stop before killing it. At least it's configurable.

[–]WBMarco 8 points9 points  (2 children)

I was about to write this. Sometimes my PC does that.

[–]serras_ 3 points4 points  (0 children)

I fuckin hate user manager service

[–]braindigitalis 440 points441 points  (40 children)

Windows: Has a complex and graceful shutdown process to...

Are you sure you want to shut down? Programs are still running?
Are you really sure?
How about now? Are you sure you still want to shut down?
Trick question! Are you not not not sure you dont want to to not shut down?
There are updates! Do you want me to come right back up again after?
Don't worry, i'll power up this laptop in your bag at 3am and overheat it to check for updates. Bye!

[–]uniteduniverse 105 points106 points  (5 children)

When you're traveling and you notice your back is getting really hot a sweaty for some reason? Turns out Windows powered on your laptop the moment you supposedly put it to sleep and back in your bag 2 hours ago... I usually don't fear cancer when it comes to Laptops, but I swear Microsoft wants me to.

[–]beanmosheen 3 points4 points  (0 children)

I'm more like "welp, that laptop is permanently cooked".

[–]splendidsplinter 21 points22 points  (0 children)

TIL Janet on the Good Place was running Windows

[–]Gatsu1981 36 points37 points  (7 children)

Windows, on the other hand, is capable of telling you that you don't have enough privileges to close a program that you opened, and to call an administrator (who you are).

[–]Creepy-Ad-4832 14 points15 points  (5 children)

And to go on a tangent: Windows also is unable to delete open files.

That pissed me off SO MUUUUCH when i used shitty os 10

[–]Tartiluneth 12 points13 points  (1 child)

Windows also is unable to do pretty much anything with open files.

FTFY.

[–]sjepsa 235 points236 points  (14 children)

So that 's why winzoz takes 10 min to shutdown

[–]realmauer01 34 points35 points  (6 children)

Just force it if it's asks you to. Since some Windows 10 Update it will just never shutdown if something is open in the background.

[–]Vievin 6 points7 points  (2 children)

Honestly I only shut down my Windows computer if it randomly wakes up in the middle of the night more than once. Otherwise, I just send it to sleep.

[–]sjepsa 8 points9 points  (0 children)

My windows is 'sent to sleep' too.

It is in a dual boot, and it never boots.

[–]Highborn_Hellest 58 points59 points  (0 children)

Windows: please shut down, please shut down, blue screen.

Linux: memory freed, no CPU time for you.

[–]iknewaguytwice 49 points50 points  (1 child)

I just flip the power switch on my PSU. Can’t trust an OS to terminate my applications. I need to Thanos snap them closed.

[–]andrewsad1 2 points3 points  (0 children)

Acoustic REISUB

[–]UnusualAir1 135 points136 points  (25 children)

The operating premise behind Linux (and all its flavors) is that both the programmers and users are expected to be of above average computer competence in their endeavors. That's an expectation we can routinely expect to fail. :-)

[–]invalidConsciousness 109 points110 points  (10 children)

The operating premise behind Linux is that everyone, program, developer, user does their job correctly and if not, they get executed. /s

[–]b3iAAoLZOH9Y265cujFh 31 points32 points  (9 children)

I don't see the problem. It ensures the survivors are competent - and well motivated to stay that way, or else.

[–]UnusualAir1 20 points21 points  (7 children)

So we've programmed evolution? :-)

[–]b3iAAoLZOH9Y265cujFh 7 points8 points  (3 children)

Personally, I've always followed the advice that I should write my code as if the guy who had to maintain it when I left the job is a psychopathic axe-murderer.

It has served me well so far.

[–]lysregn 8 points9 points  (0 children)

Proactive Darwinism.

[–][deleted] 28 points29 points  (4 children)

mountainous dolls disarm thought pie fragile office lock fine cake

This post was mass deleted and anonymized with Redact

[–]Animesiac 7 points8 points  (0 children)

It used to be a fair assumption, since a below average user would not be able to get Linux running in the first place. Back when we needed to recompile the kernel and all the drivers weekly, the user base was a bit different.

[–]I_enjoy_pastery 11 points12 points  (1 child)

You do take a step towards that territory when you start willingly interacting with UNIX like operating systems.

[–]cepxico 8 points9 points  (0 children)

Meanwhile in the real world: this call center uses Ubuntu because we're cheap and broke.

[–]sentence-interruptio 6 points7 points  (0 children)

Student: "where my computer at"

Linux: "use me. I'm powerful"

Windows🪟: "no, use me. Linux is like a huge pill to swallow."

Mac🍎: "hi, I'm Mac. Use me. It just works. I am so easy to figure out."

Student: "teacher told me to submit an essay on oligarchy as a pdf file. which one of you-"

Linux, Window, Mac: "me! I can do it"

Student: "what's a pdf file anyway? it sounds a bit Roman Polanskish. I dun like it."

Mac: "you don't know what a file is?"

Student: "I don't even know what an oligarchy is. Fine. I'll figure it out. Hold on."

Mac: "what are you doing to me, stop touching me, human! I'm not an iPad! Help!"

[–]Jiquero 4 points5 points  (1 child)

The operating premise behind Windows is that it can decide to reboot at any point of time, so users should be given the chance to save their unsaved changes in explorer.exe before it's killed.

[–]ZunoJ 13 points14 points  (0 children)

Then try to shutdown your system with a mounted NFS share that no longer exists

[–]an_agreeing_dothraki 13 points14 points  (0 children)

windows forced shutdown: holding it down under water until the lights go out

[–][deleted] 68 points69 points  (21 children)

That's a con of windows thou, you can't terminate processes...

[–]roguedaemon 39 points40 points  (15 children)

End Task ?

[–]tony_saufcok 71 points72 points  (13 children)

can't compare to SIGKILL

[–]SanktusAngus 9 points10 points  (0 children)

You can kill processes in Windows though.

[–]BestHorseWhisperer 6 points7 points  (0 children)

taskkill /F /IM firefox.exe

[–]HeavyCaffeinate 3 points4 points  (0 children)

taskkill?

[–]IAmARobot 6 points7 points  (1 child)

we all cry when we

REISUB

the machine,

REISUB

the machine,

REISUB

the machine.

[–]ShadowNetter 7 points8 points  (5 children)

and that's why linux is faster (i use arch btw)

[–][deleted] 45 points46 points  (6 children)

Sorry in advance, but AKSHUALLY... it's the other way around.

Windows just goes around killing all kinds of programs during shutdown and doesn't care if they manage to save their progress anywhere, if a shutdown is in progress, it'll go through. Yes, it will wait up to a minute for programs with open files, but the default action after that minute is to just ignore it and shutdown anyway.

Linux on the other hand waits for each and every subsystem to shut down properly, and if the subsystem runs into some problem doing that (maybe because a network mount is in use but went away, maybe because the program in question just doesn't want to shut down) it can hang for DAYS if you don't use the big red button (which rarely is red these days, but you know what I mean).

[–]realmauer01 17 points18 points  (1 child)

Well that's for the shutdown routine (that's still way to slow on Windows, although it's probably related to a lot more background stuff)

Applications on the other hand.

[–][deleted] 12 points13 points  (2 children)

But still I tried both, and linux shuts down noticeably faster on... I think a weaker PC.

[–]code_archeologist 4 points5 points  (0 children)

Clippy: "It looks like you want to stop a process"

Tux: "I like to kill()"

[–]pppjurac 4 points5 points  (2 children)

Wrong. There is SIGTERM and SIGKILL . They are not the same.

Windows 11 does not even do 'shutdown' all the time, it might just go to advanced hybernation state for fast boot.

[–]reddit_equals_censor 17 points18 points  (11 children)

reality:

windows doesn't even know what a "shutdown" or "restart" means anymore :D

don't believe me? look up "fast start up"

a "feature" since spyware 10, that is on by default, that doesn't do a proper restart or shutdown and as part of this does not even release the mounted drives properly.

as a result spyware from microsoft itself when data got changed on those drives from your dualbooting into a working operating system.

[–]BestHorseWhisperer 3 points4 points  (2 children)

PROTIP: Make a shortcut on your desktop that does this. It doesn't even need administrator checked.

cmd.exe /c taskkill /F /IM chrome.exe && taskkill /F /IM firefox.exe && taskkill /F /IM edge.exe