Skip to content

Instantly share code, notes, and snippets.

@e-minguez e-minguez/gist:7888552
Last active Dec 30, 2015

Embed
What would you like to do?
Show modified files after install software in RHEL
yum install -y mlocate
/etc/cron.daily/mlocate.cron
locate \* >> /tmp/before.txt
# install whatever
/etc/cron.daily/mlocate.cron
locate \* >> /tmp/after.txt
diff /tmp/before.txt /tmp/after.txt
find / -newer /tmp/before.txt 2 > /dev/null | egrep -v "\/sys|\/proc|\/dev|\/tmp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.