Apt & dpkg aliases for Ubuntu and Debian distros.

(in /home/bsgt/stablecaps_bashrc/aliases/apt_aliases.sh)

Function Index

01 - ubupdate

>> ubupdate():

about: Ubdate & upgrade ubuntu via apt. Then run apt auto-remove

group: base

example: ubupdate

function ubupdate() {

    sudo apt update
    sudo apt upgrade -y
    sudo apt auto-remove
}

Aliases

Alias Name Code Notes
apts apt-cache search
aptshow apt-cache show
aptinst sudo apt-get install -V
aptupd sudo apt-get update
aptupg sudo apt-get dist-upgrade -V && sudo apt-get autoremove
aptupgd sudo apt-get update && sudo apt-get dist-upgrade -V && sudo apt-get autoremove
aptrm sudo apt-get remove
aptpurge sudo apt-get remove --purge
chkup /usr/lib/update-notifier/apt-check -p --human-readable
chkboot cat /var/run/reboot-required
pkgfiles dpkg --listfiles