Often I have a shell open already and I notice the software updater is telling me there are updates. To save me the time on extra mouse clicks, I want to just update via the shell. But if I just do "sudo apt-get update", the software updater still shows me pending updates and this is also the case even after rebooting the system - if I'm not mistaken.
So, if I want to do the same thing as the software updater in the shell, what commands do I have to call?
sudo apt-get update? sudo apt-get upgrade? sudo apt-get dist-upgrade? All of them?