Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 5 down vote accepted

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) 
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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