The following command lists all the rpm packages installed in the Linux box
rpm -qa
The following command lists the package file
rpm -ql iptables
The following command diplays more details about the packages
rpm -qi iptables