---

How to run a command or script after running apt-get command on a Debian or Ubuntu Linux

How do I run custom command after ‘apt-get upgrade’ or ‘apt-get dist-upgrade’ on a Debian or Ubuntu Linux based system? How do I hook a script to apt-get command on my Ubuntu Linux server?

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis