• Raltoid@lemmy.world
    link
    fedilink
    arrow-up
    251
    arrow-down
    3
    ·
    edit-2
    10 hours ago
    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.

    • Shanmugha@lemmy.world
      link
      fedilink
      arrow-up
      7
      arrow-down
      2
      ·
      edit-2
      3 hours 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

    • cmgvd3lw@discuss.tchncs.de
      link
      fedilink
      arrow-up
      29
      ·
      edit-2
      8 hours ago

      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.

      • madame_gaymes@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        26 minutes ago

        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.

        • criticon@lemmy.ca
          link
          fedilink
          arrow-up
          9
          ·
          5 hours ago

          Some clarification of the command

          -r #restart

          -s #shutdown

          -t 00 #wait 0 seconds

          -f #forced

            • Laurel Raven@lemmy.zip
              link
              fedilink
              English
              arrow-up
              4
              ·
              3 hours ago

              I can’t speak for them if they’re joking or not but it’s something you can absolutely do. *.bat files (short for “batch”, as in a batch of commands to execute in sequence) are the script files for the Windows command line, and can be executed by double clicking on them

              • jmacapp@lemm.ee
                link
                fedilink
                arrow-up
                1
                ·
                2 hours ago

                Thanks, I’m familiar with batch files. This just seems like a very bad way to perform a shutdown, especially when running a UI Desktop windowing system. And even if that shutdown command is fully supported from the GUI, I would guess you need to be admin to run it, which means you can run the bat file as admin, so if you can edit the file or modify the env in which it runs (e.g. PATH) it seems like it could be a security problem. And if you don’t need to be root to run the shutdown command, that seems like its own problem. I suppose Windows still has the “run as administrator” from the context menu so maybe that helps.

                • Sonicdemon86@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  52 minutes ago

                  As it is a simple command you don’t need to be an admin or run as administrator. Listen kids don’t run batch files if you don’t know where they came from or who made them.

        • kewko@sh.itjust.works
          link
          fedilink
          arrow-up
          6
          arrow-down
          7
          ·
          9 hours ago

          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

          • aeiou_ckr@lemmy.world
            link
            fedilink
            arrow-up
            17
            ·
            8 hours ago

            Not really. If -f (force) is removed windows will shutdown similar to pressing the shutdown button and will wait for your input regarding open programs. -f is needed to just just “do it” with no hesitation or response from the user.

            • kewko@sh.itjust.works
              link
              fedilink
              arrow-up
              4
              arrow-down
              5
              ·
              edit-2
              8 hours ago

              Straight from the doc

              /t <xxx> Sets the time-out period before shutdown to xxx seconds. The valid range is 0-315360000 (10 years), with a default of 30. If the timeout period is greater than 0, the /f parameter is implied.

              • Lupus@feddit.org
                link
                fedilink
                arrow-up
                24
                ·
                8 hours ago

                Sooo when you use the prompt

                Shutdown.exe -r -t 00

                You would need the -f since we defined the timeout period as 0. Because:

                If the timeout period is greater than 0, the /f parameter is implied.

      • Dave@lemmy.nz
        link
        fedilink
        arrow-up
        14
        ·
        10 hours 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.

    • Apytele@sh.itjust.works
      link
      fedilink
      arrow-up
      8
      ·
      10 hours ago

      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.