Listing RPM file contents

Before installing a RPM file , atleast few will be curious to check what exactly that particular rpm files contains. For this you can use the rpm command with qlp flags The syntax is as below. #rpm -qlp vim-minimal-7.0.109-7.el5.x86_64.rpm warning: vim-minimal-7.0.109-7.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 /bin/ex /bin/rvi /bin/rview /bin/vi /bin/view /etc/virc […]