top 50 comments

sorted by: hot top controversial new old
[–] 325 points 1 year 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.

  • source
  • hideshow 20 child comments
  • [–] 47 points 1 year ago (5 children)

    You can force it on windows if you really want.

    Please elaborate

  • source
  • parent
  • hideshow 7 child comments
  • [–] 127 points 1 year ago (22 children)

    Shutdown.exe -r -t 00 -f

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

  • source
  • parent
  • hideshow 24 child comments
  • load more comments (20 replies)
  • load more comments (3 replies)
  • [–] 13 points 1 year 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

  • source
  • parent
  • load more comments (14 replies)
    [–] 146 points 1 year ago* (26 children)
  • [–] 25 points 1 year ago (1 child)
  • load more comments (24 replies)
    [–] 138 points 1 year ago* (last edited 1 year 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.

  • source
  • hideshow 5 child comments
  • load more comments (5 replies)
    [–] 89 points 1 year 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.

  • source
  • hideshow 3 child comments
  • [–] 31 points 1 year ago (1 child)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • load more comments (1 reply)
    [–] 78 points 1 year ago (1 child)

    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.

  • source
  • hideshow 2 child comments
  • [–] 67 points 1 year ago (1 child)

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

  • source
  • parent
  • hideshow 2 child comments
  • [–] 30 points 1 year 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"

  • source
  • parent
  • hideshow 4 child comments
  • load more comments (2 replies)
  • [–] 71 points 1 year ago

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

  • source
  • [–] 64 points 1 year ago (6 children)

    I've never seen anything graceful in windows

  • source
  • hideshow 7 child comments
  • load more comments (5 replies)
    [–] 53 points 1 year ago (4 children)
  • load more comments (3 replies)
    [–] 45 points 1 year ago (1 child)

    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.

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 45 points 1 year ago (1 child)

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

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 39 points 1 year ago

    Fear will keep them in line

  • source
  • The kernel giveth, the kernel taketh away

  • source
  • [–] 36 points 1 year 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.

  • source
  • hideshow 3 child comments
  • load more comments (1 reply)
    [–] 29 points 1 year ago (1 child)

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

  • source
  • hideshow 2 child comments
  • [–] 28 points 1 year 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.

  • source
  • hideshow 2 child comments
  • load more comments (2 replies)
    [–] 26 points 1 year ago (1 child)
    $ 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
    
  • source
  • hideshow 2 child comments
  • [–] 22 points 1 year ago (1 child)

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

  • source
  • hideshow 2 child comments
  • [–] 21 points 1 year ago (3 children)

    kill commands make one feel like a Caesar

  • source
  • hideshow 4 child comments
  • load more comments (2 replies)
    [+] 20 points 1 year ago* (last edited 1 year ago)
    [–] 16 points 1 year ago

    Closing correctly means the program stops NOW

  • source
  • [–] 12 points 1 year ago

    Nothing is graceful about Windows. [=

  • source
  • load more comments
    view more: next β€Ί