So I have an alias that I use for performing updates that cleans up old kernels and stuff. Problem is that it doesn't notify me immediately if a reboot is required afterwards. What can I use to figure this out so that I can at least print a message to the screen?
alias update='sudo apt-get update;sudo apt-get dist-upgrade;sudo apt autoremove;'