Computer Tips - How can I find what rpm contains that file?

Date: 2012may29 Distro: RedHat/Fedora/CentOS OS: Linux Q. How can I find what rpm contains that file? A.
dnf whatprovides <full-path-to-file>
Or use: http://rpmfind.net/