# rpm -ivh MySQL-client-3.23.57-1.i386.rpm : Command to instatll the software.
# rpm -qa : Command to Query all the softwares installed.
cdrecord-2.01-10.7.el5
bluez-libs-3.7-1.1
setarch-2.0-1.1
# rpm -qa | grep 'cdrecord'
# rpm -q MySQL-client
MySQL-client-3.23.57-1
# rpm -q MySQL
package MySQL is not installed
# rpm -qa --queryformat '%{name-%{version}-%{release} %{size}\n'
cdrecord-2.01-10.7 12324
bluez-libs-3.7-1.1 5634
setarch-2.0-1.1 235563
# rpm -qf /usr/bin/mysqlaccess
MySQL-client-3.23.57-1
# rpm -qdf /usr/bin/mysqlaccess : Documentation
# rpm -qi MySQL-client : Lot of information about an installed pacakge.
# rpm -qip MySQL-client-3.23.57-1.i386.rpm : Information about the package before installation.
# rpm -qlp ovpc-2.1.10.rpm : List all the Files in a Package using rpm -qlp.
# rpm -qsp MySQL-client-3.23.57-1.i386.rpm : State of the files in a package. installed, replaced or normal
# rpm -qRp MySQL-client-3.23.57-1.i386.rpm : List the Dependency Packages using rpm -qRP
/bin/sh
/usr/bin/perl