Installing is easy just add:

alias updog="sudo apt update && sudo apt upgrade -y"

to your .bashrc or .zshrc

  • jxk
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    What does -y do in apt?

    • wtvr
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 year ago

      Forces “yes” so you don’t get the “continue?” prompt after hitting enter

      • jxk
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I see. For some reason my apt manpage don’t list it, but my apt-get manpage does.