apt-get update
apt-get upgrade

Oh, Kernel updates?

apt-get autoremove

I like to live dangerous.

  • 2
    This man likes to live on the edge
  • 2
    i have an update script that does the following (sudo spam so I dont have to sudo the whole script):

    sudo apt update
    sudo apt upgrade -y
    sudo apt autoremove
    sudo fstrim -av
    sudo sync
    sudo reboot

    named it "update" and plunked it in my /home PATH folder (I keep a folder specifically for stuff I wanna be able to run from anywhere)
  • 2
    @Parzi why don't you make use of the SUID bit?
  • 2
    @fuckwit cause I still want the password prompt?
Add Comment