All Apps and Add-ons

Using Diff for packages or other lists


We're trying to use the diff command in the UNIX app to monitor changes to a system's installed packages. I need help creating a query / report that would run daily to monitor changes on different systems' package lists.


Re: Using Diff for packages or other lists


You could create a simple shell script that runs rpm -qa or dpkg --get-selections or any other preferred way of listing installed packages, and set the script up as a scripted input. Then you can run the | diff command on the data that is indexed to see changes.