I want to look for files polluting an old CentOS system in my company. Is there an easy way to do that?

1 Answer 1


If I understand correctly, you want to compare the list of all files on the system, with the list of files installed by RPMs. You should do something like this:

comm -13 <(rpm -qla | sort) <(find / -type f | sort) 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.