[ubuntu-uk] Checking if a System restart is required

Paul Willis paul.willis at me.com
Thu Apr 21 15:52:26 UTC 2011


Hi

Occasionally, after running...

sudo apt-get update && sudo apt-get upgrade -y

...my server it needs a reboot. Trouble is I don't see the *** System restart required *** message until next time I log in.

I usually log out and back in again straight after running the update but I'm sure there must be a command to check if a reboot is required without doing that.

Anybody know?

Cheers

Paul



More information about the ubuntu-uk mailing list