Skip to content

Instantly share code, notes, and snippets.



Last active Dec 30, 2015
What would you like to do?
Show modified files after install software in RHEL
yum install -y mlocate
locate \* >> /tmp/before.txt
# install whatever
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.