• MsFlammkuchen@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        15
        ·
        11 months ago

        && executes the second command, if the command before was successful, || executes the second command if the first one was unsuccessful and ; executes the second command regardless of success.

    • Cevilia (they/she/…)@lemmy.blahaj.zonedeleted by creator
      link
      fedilink
      English
      arrow-up
      3
      ·
      11 months ago

      I’m absolutely serious.

      You can also add a package name to install it at the same time as doing the upgrade, though personally I prefer to do that as a separate command so I can see what dependencies are needed.