Where the heck is this file from…

Hi all.

Sometimes I find myself looking for a source of a certain file in my installation… Let’s say I have a file /usr/bin/firefox… What package did it came from? This command sorts me out:

rpm -qf /path/to/the/file

Example:

[andrzejl@wishmasbell ~]$ rpm -qf /usr/bin/firefox
firefox-5.0-5pclos2011
[andrzejl@wishmasbell ~]$

I hope someone will find it usefull.

Regards.

Andy

AndrzejL

"Never meet Your heroes. Most of the time you'll only end up disappointed." White Polak Male Husband Employee Hetero Carnivorous Fugly Geek @$$hole with ADD Catholic “Some men just want to watch the world burn.”

Comments are closed.