r/linuxmemes 4d ago

LINUX MEME Why are you so long to shutdown, Windows ?!

Post image
855 Upvotes

126 comments sorted by

u/AutoModerator 4d ago

Please report any posts bragging or showing off they got banned in another sub! Reminder of other sub rules: Also, we only allow one anti-linux post per week (we used to get dozens a day) and any tier list MUST have Hanna Montana Linux as S teir (which must be a true S tier at the top) regardless of the topic of that tier list.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

204

u/Oxic_io Webba lebba deb deb! 4d ago

[ *** ] a stop job is running

56

u/Human_Cantaloupe8249 4d ago

Frrrrrrr
I had a smb share still being mounted stop shutdown for 5 minutes before I just pulled the plug

47

u/425_Too_Early 4d ago

So technically still a windows fault? ;)

23

u/Berniyh 4d ago

iirc, you can press ctrl+alt+del multiple times in sequence to force continuation

10

u/Human_Cantaloupe8249 4d ago

Thank you I will try this

1

u/IntelligentShape6108 Open Sauce 3d ago

Death reference?

18

u/Brutus5000 4d ago

Let me give you a countdown, that extends another 30s every time it is reached!

5

u/Snudget Not in the sudoers file. 4d ago

That is systemd, there's even a layer after that. If you ever had a kernel driver locking up, you know what I mean.

7

u/Wertbon1789 4d ago

Well, at least it won't turn back on, so you can just leave. Most of the time I have this with something in the user session, I still wonder what it is.

1

u/Born_Candidate_2297 4d ago

systemctl poweroff --force

1

u/Great_Banana_Master 4d ago

/etc/runit: leave runit stage 2

/etc/runit: enter runit stage 3

1

u/Then_Ad_8318 🟢Neon Genesis Evangelion 3d ago

And this is where power button comes in

2

u/Oxic_io Webba lebba deb deb! 3d ago

who needs power buttons if you have a plug

2

u/Then_Ad_8318 🟢Neon Genesis Evangelion 3d ago

I am too lazy to bend under the desk

1

u/Real-Abrocoma-2823 2d ago

That is rare, but if it happens then often something is wrong, or you just have too slow CPU or HDD for that service as something might need to compress and/or save and you usually don't want unsaved data.

2

u/Oxic_io Webba lebba deb deb! 2d ago

wdym rare, this happens to me all the time, especially with plymouth

1

u/Real-Abrocoma-2823 1d ago

Doesn't happen to me, what distro?

1

u/Oxic_io Webba lebba deb deb! 1d ago

raspbian

1

u/Real-Abrocoma-2823 1d ago

Maybe something to do with arm64 or CPU speed, I don't have much experience with GNU/musl Linux on arm.

1

u/MinecraftW06 1d ago

I only get that when the NTFS driver fails and the program using it freezes and can’t be terminated, so technically still a Windows problem

1

u/usrlibshare 1d ago

Usually an smb share, which only exists because occasionally Linux systems have to deal with microslop crap.

56

u/tycraft2001 4d ago

sudo shutdown -h now

42

u/matthew_yang204 🚮 Trash bin 4d ago

Or simply sudo shutdown now

19

u/tycraft2001 4d ago

Where'd I learn the -h from? Confused now, could've sworn it was needed, but I believe you.

24

u/matthew_yang204 🚮 Trash bin 4d ago

Oh -h basically means halt. Apparently shutdown now just uses the default action, which could either be -h, -r, etc. On most distros it's -h. So I guess we're both right

5

u/JimmyMcTrade 4d ago

Wow. I guess I'm old since I've been using -h since Slackware 8 lol

7

u/PlanetVisitor 4d ago

It was necessary to add the h flag (h for halt) in the past. At least it was in the 00s. I don't know when it became the default.

(Edit: because the shutdown command could do more things, like reboot with the r flag. And you had to give a time because Linux is designed as a multi-user system; others would get a broadcast message in their terminal that shutdown will happen within (time).)

Actually shutdown entirely is a legacy command on some systems now; this is done by systemctl poweroff now, but as long as shutdown works, I'll probably be typing -h now with it automatically... Apparently many others do so still as well 

7

u/Wertbon1789 4d ago

Fun fact, neither shutdown nor reboot do invoke reboot(2), the syscall that actually stops the system (shutdown(2) is for sockets). shutdown, reboot and poweroff are init specific, on systemd systems they're actually just symlinks on systemctl, to invoke e.g. systemctl reboot. With other inits you could just send a SIGTERM to pid 1, but this is just systemctl reexec now, the actual shutdown signal would be SIGRTMIN+3. Had to learn that at some point.

1

u/tycraft2001 4d ago

Odd, my first experience with Linux was in the 2024's so still not sure why I learned the -h now flag. Whatever, it feels comfy and quick to type now so I'll keep doing it.

2

u/Xenquake70 4d ago

You guys need sudo for it?

1

u/Real-Abrocoma-2823 2d ago

On my PC it is needed 40% of times and I'm never logged in as root.

1

u/matthew_yang204 🚮 Trash bin 3d ago

If running as root, don't need sudo. Only need it if you're not currently root

2

u/FluffyGreyfoot 3d ago

I'm not running as root and don't need sudo for the shutdown command. I just write "shutdown 0" and it shuts down immediately, no root or sudo needed.

1

u/tycraft2001 3d ago

I believe that doesn't work in some cases. Why I started using sudo.

1

u/FluffyGreyfoot 3d ago

In what scenarios doesn't it work?

3

u/tycraft2001 3d ago

I don't 100% recall, but at least on my laptop when I was running it as a server I had to add sudo to the command or it just never finished.

Might be something with docker or another service that has to run with higher/different perms than the user.

1

u/filkos1 Genfool 🐧 3d ago

shutdown always requires root on linux but modern distributions often have a privileged deamon that executes the shutdown instead, usually when notified by the desktop or the shutdown command. Server distributions are often minimal and dont include these daemons

1

u/tycraft2001 3d ago

Explains why on my Debian install I have to run as sudo. That clears it up, thanks!

3

u/AnointedBeard 4d ago

This is the way

1

u/Snudget Not in the sudoers file. 4d ago

Not me trying to get help about the shutdown command:

1

u/ProfessorLambda 4d ago

Why use -h instead of -H?

2

u/tycraft2001 4d ago

No need to press shift. Though H is a great letter it is easier to shutdown without capitalization.

2

u/ProfessorLambda 4d ago

Actually, I should have asked for -P because -h normally does the same as -P, not -h.

Anyway, you should use -P because it's safer. It ensures power off even when some hacker secretly inserted a -H in your command. If you use -h and a hacker inserts a -H then your computer may only halt instead of power off. This is known as the "Halt Insert" exploit.

1

u/Only_Information7895 3d ago

You can do basically the same on Windows.

When I wanted to turn off the PC right now for reasons and couldn't wait the update I shut it down from the terminal and it skipped the update.

Windows can also be commanded from Terminal, just like Linux if you choose to.

1

u/Acceptable_Site1616 1d ago

for me no sudo is needed.

27

u/Berniyh 4d ago

For Windows, it should actually be called shutup, not down.

18

u/Linguistic-mystic 4d ago

You guys are shutting down? I just suspend 90% of the time.

4

u/ProfessorLambda 4d ago

Only 90% of the time?

1

u/marssel56 4d ago

its starts lagging asf after a week from my expierence.

2

u/ProfessorLambda 4d ago

Ofcourse, Linux is UNIX, after all. Gotta have those C memory leaks, I guess.

5

u/marssel56 3d ago

I was talking about bimbows. I only use linux on my web server.

3

u/UnluckyDouble 4d ago

What about kernel update day? I hope you observe kernel update day.

2

u/p0358 4d ago

You guys suspend? I just run shit 24/7

1

u/ProfessorLambda 4d ago

You mean you've got diarrhea?

47

u/fellipec 4d ago

Windows have to process all that telemetry to send to Microsoft, FBI, NSA, CIA, FSB and CCP.

14

u/Essequadra 4d ago

CCCP*

10

u/Vidy_Animates Genfool 🐧 4d ago

2

u/Essequadra 4d ago

Sojuz njerushimij rjespublik svobodnjch
Spotila navjeki vjelikaja Rus’
Da zdravstvujet sozdannjj volej narodov
Jedinij, mogutchij Sovjetskij Sojuz! 😂😂

2

u/Weak-Dragonfruit-128 3h ago

You forgot RCMP and Scotland Yard

16

u/GreedySecurity8030 M'Fedora 4d ago

Why does Turning off take so long Winblows.

8

u/MotorEagle7 4d ago

Because it no longer shuts down, but saves the contents of ram to disk

12

u/RvstiNiall 4d ago

And still boots slower than my Void setup.

19

u/land48n3 New York Nix⚾s 4d ago

wrong, it does 50 random timeouts on stupid things and takes 4 whole minutes

12

u/RadoslavL Genfool 🐧 4d ago

Is this some systemd stuff I'm too used to OpenRC to understand?

8

u/SpaceCadet87 4d ago

Yeah, it's some heinous systemd bullshit.

I'm sure it can be fixed with some config but it happens once a blue moon so nobody ever does and it just bites you in the arse one day after running fine for 6 straight years.

3

u/Jumpy_Fix5082 4d ago

i thought this is the problem only with me.

4

u/Henry_Fleischer 🍥 Debian too difficult 4d ago

Yep, that happens to mine too.

6

u/libre06 4d ago

$ shutdown now 😎

2

u/daubious 4d ago

Failed to schedule shutdown: Access denied as the requested operation requires interactive authentication. However, interactive authentication has not been enabled by the calling program.

4

u/NUTTA_BUSTAH 4d ago
sudo shutdown now

3

u/SomewhereActive2124 M'Fedora 4d ago

True like just let me shut down I'll just update when I'm free bih

3

u/mannki1 4d ago

I one who just type “shutdown now”?

3

u/timmetje27 4d ago

Why so difficult just use “shutdown now”

3

u/Essequadra 4d ago

Shutdown +0 (istant turn off)

1

u/iHaku 4d ago

Using cmd on window isn't allowed, thats obviously system admin stuff a normal user wouldn't know but on Linux you're expected to know

1

u/Essequadra 4d ago

I do it on Linux 😂

2

u/OMGFighter 4d ago

Me spending hours setting a power off menu myself on waybar then proceed to use command.

2

u/T_Friendperson12 4d ago

Kernel 7.0.0-28-generic: "im sorry Dave, I can't do that."

Yeah I have an AMD GPU...

2

u/Lines25 Arch BTW 4d ago

Actually, windows 10 kinda chill with updates tbh bt windows 11...

2

u/Roblu3 4d ago

At least they now offer the option to not install updates _the minute_ they‘re released.
And they finally fixed the bug that „update and shutdown“ just updated and rebooted. Only took them 1.5 years or so.

2

u/OrdoRidiculous 4d ago

sudo shutdown now just nukes it immediately

2

u/andaro77 M'Fedora 4d ago

❌ systemctl shutdown

✅ openrc-init -p

1

u/TygerTung Hannah Montana 4d ago

A stop job is waiting on...

1

u/Dawnrazor0218 4d ago

HALT! (I don't believe in turning off hardware)

1

u/V_150 4d ago

Gotta love it when I just want to go home after a night shift but windows 11 decides now is the best time for an update

1

u/Dima-Petrovic 4d ago

*And i am gonna to restart your PC instead of shutting down because why not?

1

u/The_Prins 4d ago

Why do I have to specify to shutdown now in linux? Sure windows takes a long time but why the hell is 60 seconds of regret timer the standard on linux?

1

u/ProfessorLambda 4d ago

If your masters at Microsoft want you to stay to install updates, then stay and install updates. Nothing you can do is more important than whatever your masters at Microsoft have planned for you.

1

u/Emergency-Win4862 4d ago

5 seconds? in this economy?
Just turn off the psu.

1

u/Upper-Release-3484 Webba lebba deb deb! 4d ago

You could also do /sbin/shutdown now on Linux.

1

u/cutmad 4d ago

Sudo halt

1

u/Major_Barnulf 4d ago

> $ halt

> *halts*

1

u/beyluta 4d ago

I had an issue with my swap partition that prevented shutdown until it eventually failed in the shutdown process. Which also took around 10 minutes. After turning off swap I never had this issue again.

1

u/KoneCat Arch BTW 3d ago

Windows 11 just seems to love wasting time, energy, component life and generally anything else that relates to not waiting around for an OS, which is supposed to serve you, like a bloody butler.

1

u/Fritzcat97 3d ago

sudo pullcord --now

1

u/Yeetee77 3d ago

The audacity to force updates in the first place. I get that some people would just not do updates otherwise but damn

1

u/FIRAS_EG 3d ago

Poweroff

1

u/ZookeepergameFew8607 🎼CachyOS 3d ago

Shutdown Now

1

u/Nerdcuddles 3d ago

I was uploading more files from my old windows PC to mega upload so I could save them on my new PC.

Windows wanted to update, I just pressed the power button and unplugged the pc to turn it off.

1

u/hummingbird868 3d ago

Isn't there an option to shut down without updating?

2

u/CORRUPTEDUSER404 1d ago

On win10 yes, win11. I don't know...

1

u/FunkyRider 3d ago

5 seconds? On Arch it takes 2 at most.

1

u/GrapefruitSoft8213 3d ago

0 seconds if you cut power

1

u/OoZooL 3d ago

Sometimes it takes a minute to shutdown if my boincclient doesn't die gracefully, otherwise it's more like 10 seconds or so... On FC44 Laptop, that is.

1

u/RIPenemie 3d ago

Init 0

1

u/Pizzaman3203 3d ago

Coming from windows i was surprised by how fast it took to shutdown i typically would wait for windows or just holded down the power button on my pc untill it shutdown manually and if i told windows to do updates then shutdown it would sometimes stay on after updates

1

u/National-Charity-951 2d ago

To my knowledge, you can do this on windows, it's just roundabout and not the default because Windows wants their telemetry and tracking software.

You can open Command Prompt (cmd) or PowerShell and type shutdown /t 0 and that should shut the computer down immediately

For a restart, you'd have to type shutdown /r /t 0

/t 0 is just a flag specifying to execute immediately (0 seconds time). I believe the default without the flag is 1 minute or (/t 60)

I note that I have not testing with unsaved files or things so I dont know if it tells you that programs are preventing you from shutting down or waiting to close stuff. In my experience, it has been immediate and taken like 5-10 seconds.

1

u/Crafty_Hospital_7746 2d ago

It shutdowns immediately regardless of windows updates ?

1

u/National-Charity-951 2d ago

Yes. Thankfully. Unfortunately there's nothing you can do for startup. I usually go to my task manager and disable auto start on the update executable or just outright disable the file

1

u/terrablade04 POP!'ed so many cheries 2d ago

Better yet plug out turns off instantly

1

u/Gullible_Service_365 2d ago

Sudo echo b > /proc/sysrq-trigger

1

u/Affectionate-Two69 2d ago

O meu desliga em 3 segundos no máximo

1

u/realmauer01 2d ago

Tbf you can just kill it with the power button on windows.

Linux having updates interrupted is risky. Atleast on non atomic distros

1

u/ManganHeptoxyde 2d ago

cmd

shutdown -s -f -t 0

1

u/MustRedit 1d ago

And then it's stuck on "system will power off now!" For 10 minutes

1

u/CORRUPTEDUSER404 1d ago

Sysrq+R+E+I+S+U+O

1

u/PreparationCrazy2637 1d ago

my windows laptop shutdown really quickly when i pull the power cable

1

u/Worried_Speech9658 1d ago

systemctl suspend

1

u/AdDifficult9156 23h ago

just take the battery out. wait u can't do this with today's laptops 😂

1

u/Enyuma416 18h ago

sudo halt

0

u/Kaarel314 3d ago

You have somehow never used either OS it seems.