322 points
*
  1. Linux normally does a nice shutdown as well, unless you force it.

  2. 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.

permalink
report
reply
47 points

You can force it on windows if you really want.

Please elaborate

permalink
report
parent
reply
125 points

Shutdown.exe -r -t 00 -f

Fast , no mucking around with graceful exiting of stuff. Kicks it in the teefs

permalink
report
parent
reply
26 points

I use that as a bat file so all I have to do is double click it.

permalink
report
parent
reply
18 points

Some clarification of the command

-r #restart

-s #shutdown

-t 00 #wait 0 seconds

-f #forced

permalink
report
parent
reply
1 point

Also taskkill /im foo.exe /f

permalink
report
parent
reply
0 points

I will just do the update first /s

permalink
report
parent
reply
-2 points

If -t is specified -f is assumed and redundant, but also it will try to do graceful l, but with a patience of a cranky toddler

permalink
report
parent
reply
16 points

The process manager lets you kill any process.

You can also click the do it anyway button when it’s waiting on shutdown, but I’ve had less consistent success with that.

permalink
report
parent
reply
4 points

Back in the day if I wanted to quit Windows the fastest way, I’d rename the c:/windows folder…

Back to the DOS prompt faster than you could blink

permalink
report
parent
reply
4 points

Theres a button on the back of the psu that comes in handy a LOT with windows. Useless on linux unless you want to use that button for its intended purpose.

permalink
report
parent
reply
1 point
*

There’s also a hardware way, works on practically any device. Phone, tablet, laptop, desktop, etc. Doesn’t matter what the OS is.

Press and hold power button for anywhere between 5 - 15 seconds. The second half of this meme describes this method the best, methinks.

permalink
report
parent
reply
32 points
*

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.

permalink
report
parent
reply
2 points

I’m waiting for pure GNU/NT. It sure as hell ain’t Unix!

permalink
report
parent
reply
13 points
*

Oh, p-lease, can force it my ass, Linux has never failed to shutdown on me when using plain obvious GUI method. windows - can easily hang on forever as long as computer stays powered. The point of all the memes is exactly insane windows defaults, not the things that can or can’t be done by someone with enough knowledge

permalink
report
parent
reply
8 points

It was simpler using Linux to just kill things unceremoniously, but my coworkers are also consistently amazed when Epic throws a temper tantrum (rare, but it happens) and I walk over and ctrl-alt-delete and tell it to sit down and shut the fuck up until it’s ready to reboot and act right.

permalink
report
parent
reply
2 points

Epic?

permalink
report
parent
reply
8 points
*

I’m assuming Epic as in the healthcare charting system

permalink
report
parent
reply
0 points
Deleted by creator
permalink
report
parent
reply
1 point

Why not Ctrl+Shift+Esc?

permalink
report
parent
reply
1 point

Idek what that is I learned ctrl-alt-del 20 years ago and haven’t needed to learn anything else since.

permalink
report
parent
reply
4 points
  1. Linux programs either HAVE to be quick while receiving shutdown signal, otherwise the state will be fucked, work will be lost, and people will be mad, and program will stop being used.

  2. Clicking the Windows button to force shutdown will straight up kill the program and won’t care at all.

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply
1 point

Windows also has to worry about getting sued by another multinational conglomerate when some idiot loses the only copy if a super critical file because they were too lazy to save and forced their laptop to shutdown so they could pickup lunch.

permalink
report
parent
reply
1 point

Yeah. This looks me like a kill -9 to me.

permalink
report
parent
reply
145 points
*

permalink
report
reply
78 points

I hate this message

permalink
report
parent
reply
1 point

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 😅)

permalink
report
parent
reply
24 points

Systemd moment

permalink
report
parent
reply
14 points
*

systemd moment in the sense that someone not affiliated with systemd used systemd to write a stop job that doesn’t terminate quickly? Or that you willingly installed software that brought along a slow stop job with it?

This is like so far away from systemd’s fault, idk, it must just be a meme right?

permalink
report
parent
reply
5 points

Pretty sure i’ve had this happen with services i didn’t even create, but yeah it was just a joke, i don’t care about init systems, but i don’t recall this ever happening when i was using runit.

permalink
report
parent
reply
12 points

Wasn’t the systemd dude a Microsoft employee or something?

permalink
report
parent
reply
20 points

He wrote Pulseaudio, Avahi, and systemd before joining Microsoft, where he currently works.

permalink
report
parent
reply
11 points

So that’s the story. SystemD feels very Microsofty, though. A big, opinionated, monolith.

permalink
report
parent
reply
3 points

to be honest if that happens its better to understand why that happens, instead of just pulling the plug. maybe a larger program (like firefox) is still exiting and in the middle of saving the session and closing databases. if you pull the plug, it’ll corrupt its data, it’ll forget your opened tabs and whatnot and you’ll be angry

permalink
report
parent
reply
1 point

I’m afraid you answered the wrong comment.

permalink
report
parent
reply
10 points
*

Dahm been quite a bit since I’ve seen this one. Wonder what changed on my system?

permalink
report
parent
reply
9 points

Not only do I get this on shutdown I get a job on startup that runs for a minute thirty that looks for a swap partition that I have deleted.

permalink
report
parent
reply
6 points
*

Did you delete it or comment it out in /etc/fstab? Adding

noresume

to your boot arguments should also help. You can try that out in “extended options” during boot and add it to /boot/grub/grub.cfg later. Don’t forget to run

update-grub

after editing.

permalink
report
parent
reply
3 points

Yeah I just deleted the swap partition without updating anything. I’ve realized since then I need to update the fstab but I never think about it until the odd time I do a full reboot.

permalink
report
parent
reply
5 points

I’ve had that problem before, I think I had to mess around with my fstab and grub config to fix it.

permalink
report
parent
reply
5 points

Yes. Deleting partitions without editing /etc/fstab is a nice way to render your system unbootable.

permalink
report
parent
reply
3 points

As comments below you will need to check /etc/fstab and then run a mkgrub or mkgrub2 command with options like -o (you will have lookup the full string) and it will rewrite the info that the system is told at boot about drive partitions

permalink
report
parent
reply
6 points

When I forget to close explicitly Steam before shutdown

permalink
report
parent
reply
5 points

Praise all the syatemd gods

permalink
report
parent
reply
2 points

disconnects power cord

permalink
report
parent
reply
137 points
*

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.

permalink
report
reply
5 points

When I use systemctl shutdown it happens instantly

permalink
report
parent
reply
10 points

If a process closes immediately from the shutdown command because it isn’t doing anything, sure.

permalink
report
parent
reply
2 points

Question, what’s the default wait time?

permalink
report
parent
reply
6 points

Depends on the process. Can be 30 seconds. Can be 5 minutes.

permalink
report
parent
reply
5 points

The default in systemd, unless your distribution has modified it either globally, or for a specific service, is 90 seconds

permalink
report
parent
reply
88 points

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.

permalink
report
reply
30 points

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.

permalink
report
parent
reply
20 points

Depending on the use case, that can be a good thing or a bad thing

permalink
report
parent
reply
6 points

Shouldn’t be the default though.

permalink
report
parent
reply
0 points

I don’t want my IDE with hours of work to just shut down forcibly.

permalink
report
parent
reply
5 points

I should probably sigterm instead of sigkill, but it sounds far less cool

permalink
report
parent
reply
77 points

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.

permalink
report
reply
66 points

yeah we have SIGTERM for graceful and SIGKILL for not so graceful shutting down a process.

permalink
report
parent
reply
30 points

In order of decreasing politeness: 1, 2, 15, 9 = HUP, INT, TERM, KILL = “Please stop”, “Quit it”, “I’m warning you” and “BANG”

permalink
report
parent
reply
21 points

Hup is frequently just “hey, reread your configuration files and keep going”

permalink
report
parent
reply
5 points

9 kills all 9 lives is they way the hpunix guy explained it to me in the mid 90s

permalink
report
parent
reply

linuxmemes

!linuxmemes@lemmy.world

Create post

Hint: :q!


Sister communities:

Community rules (click to expand)

1. Follow the site-wide rules
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.

Community stats

  • 9.7K

    Monthly active users

  • 1.4K

    Posts

  • 41K

    Comments