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