# If user is not root, pass all commands via sudo. if [ $UID -ne 0 ]; then alias reboot='sudo reboot' alias update='sudo apt upgrade' fi