this post was submitted on 19 Apr 2025
942 points (88.0% liked)

linuxmemes

24674 readers
1453 users here now

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

    founded 2 years ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] raltoid@lemmy.world 323 points 1 week ago* (last edited 1 week ago) (17 children)
    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.

    [–] LouSlash@sh.itjust.works 47 points 1 week ago (5 children)

    You can force it on windows if you really want.

    Please elaborate

    [–] flambonkscious@sh.itjust.works 127 points 1 week ago (22 children)

    Shutdown.exe -r -t 00 -f

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

    [–] Sonicdemon86@lemmy.world 26 points 1 week ago (6 children)

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

    [–] sprite0@sh.itjust.works 49 points 1 week ago

    and then you can growl menacingly and say 'don't make me get the bat, punk'

    load more comments (5 replies)
    [–] criticon@lemmy.ca 19 points 1 week ago

    Some clarification of the command

    -r #restart

    -s #shutdown

    -t 00 #wait 0 seconds

    -f #forced

    load more comments (20 replies)
    [–] Dave@lemmy.nz 16 points 1 week ago

    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.

    load more comments (3 replies)
    [–] cmgvd3lw@discuss.tchncs.de 32 points 1 week ago* (last edited 1 week ago) (1 children)

    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.

    load more comments (1 replies)
    [–] Shanmugha@lemmy.world 13 points 1 week ago* (last edited 1 week ago)

    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

    load more comments (14 replies)
    [–] HelloRoot@lemy.lol 145 points 1 week ago* (last edited 1 week ago) (26 children)
    [–] vfscanf@discuss.tchncs.de 78 points 1 week ago (1 children)
    load more comments (1 replies)
    [–] juipeltje@lemmy.world 25 points 1 week ago (1 children)
    [–] Azzu@lemm.ee 14 points 1 week ago* (last edited 1 week ago) (5 children)

    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?

    load more comments (5 replies)
    load more comments (24 replies)
    [–] chronicledmonocle@lemmy.world 138 points 1 week ago* (last edited 1 week ago) (5 children)

    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.

    load more comments (5 replies)
    [–] Realitaetsverlust@lemmy.zip 88 points 1 week ago (2 children)

    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.

    [–] Wizard_Pope@lemmy.world 30 points 1 week ago (1 children)

    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.

    [–] InFerNo@lemmy.ml 20 points 1 week ago (7 children)

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

    load more comments (7 replies)
    load more comments (1 replies)
    [–] NeatNit@discuss.tchncs.de 77 points 1 week ago (1 children)

    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.

    [–] DmMacniel@feddit.org 66 points 1 week ago (1 children)

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

    [–] palordrolap@fedia.io 30 points 1 week ago (3 children)

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

    [–] jj4211@lemmy.world 21 points 1 week ago (1 children)

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

    load more comments (1 replies)
    load more comments (2 replies)
    [–] astrsk@fedia.io 70 points 1 week ago

    If your app doesn’t respond to SIGTERM gracefully, you need to fix your app. The system did its job as documented.

    [–] penfore@lemmy.world 64 points 1 week ago (6 children)

    I've never seen anything graceful in windows

    [–] Agent641@lemmy.world 20 points 1 week ago

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

    load more comments (5 replies)
    [–] cupcakezealot@lemmy.blahaj.zone 52 points 1 week ago (4 children)
    [–] lengau@midwest.social 20 points 1 week ago (3 children)

    Great way to damage a power cable.

    [–] Psythik@lemm.ee 13 points 1 week ago (2 children)

    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.

    load more comments (2 replies)
    load more comments (2 replies)
    load more comments (3 replies)
    [–] Siegfried@lemmy.world 45 points 1 week ago (1 children)

    Close correctly my ass, window's priority is to piss us off.

    load more comments (1 replies)
    [–] jonathan@lemmy.zip 44 points 1 week ago (1 children)

    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.

    load more comments (1 replies)
    [–] UltraGiGaGigantic@lemmy.ml 39 points 1 week ago

    Fear will keep them in line

    [–] gorlak@lemmy.world 37 points 1 week ago (2 children)

    Except Windows doesn’t. You can send WM_CLOSE, but that may not actually bail out of the core loop. PostQuitMessage() works better for some apps, but not at all for windowless CONSOLE subsystem processes. Windows also has a lot of special behavior around generating signals in other processes. It’s a mess.

    Like, every time I reboot the reboot UI complains about mysterious, unnamed processes that take suspiciously long to quit.

    Having the kernel yank the process out of existence with prejudice is definitely the way to go as apps should be hardened for crashing, anyway.

    [–] i_am_not_a_robot@feddit.uk 48 points 1 week ago (3 children)

    My work laptop always complains that it can't shut down the "Shutting down" app when it tries to shut down.

    load more comments (3 replies)
    load more comments (1 replies)

    The kernel giveth, the kernel taketh away

    [–] squinky@lemm.ee 30 points 1 week ago (1 children)

    If your code can’t handle a sig9 then your code is weak

    [–] Hupf@feddit.org 17 points 1 week ago (1 children)

    sig 9 or sig 9mm - that's the question here

    load more comments (1 replies)
    [–] rickyrigatoni@lemm.ee 26 points 1 week ago (2 children)

    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.

    load more comments (2 replies)
    [–] h4x0r@lemmy.dbzer0.com 25 points 1 week ago (1 children)
    $ 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
    
    [–] letsgo@lemm.ee 17 points 1 week ago (3 children)

    So does kill -4 just make the program a bit poorly?

    load more comments (3 replies)
    [–] jmcs@discuss.tchncs.de 22 points 1 week ago (1 children)

    Don't both GNOME and KDE send sigterm first on shutdown?

    [–] bjoern_tantau@swg-empire.de 35 points 1 week ago (1 children)

    Yeah, this meme is bullshit but gets still posted every other month or so. Windows can also just kill a process, similar to sigkill.

    load more comments (1 replies)
    [–] sockpuppetsociety@lemm.ee 21 points 1 week ago (3 children)

    kill commands make one feel like a Caesar

    et tu, Sudo?

    load more comments (2 replies)
    [–] hector@sh.itjust.works 19 points 1 week ago

    Linux is actually great if you need to implement graceful shutdown with signals -- I love it all around :)))

    [–] spicehoarder@lemm.ee 15 points 1 week ago

    Closing correctly means the program stops NOW

    load more comments
    view more: next β€Ί