commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
emerge,apt-get,yum... all update your system. This will at some point replace either a runtime dependency or a process (which is still running).
This oneliner will list what processes need to be restarted
There are 3 alternatives - vote for the best!
This command can be installed in debian by the package debian-goodies. It also outputs the /etc/init.d/ commands that you need to do.
If you can do better, submit your command here.
You must be signed in to comment.