Hyacin (He/Him)@lemmy.mltoLinux@lemmy.ml•What alias do you have to update the system from terminal?English
0·
2 months agoalias update='sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y && sudo apt autoremove -y'
alias update-and-reboot='sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y && sudo apt autoremove -y && sudo reboot'
alias update-and-poweroff='sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y && sudo apt autoremove -y && sudo poweroff'
Personal?
~
My homedir is a HUGE MESS.
Work?
~/src/<site>/<project>/<repo>
i.e. ~/src/github/mirantis/docker (not real I don’t imagine, just an example)
~/src/bitbucket/INTERNALPROJECTCODE/coolrepo