Ravi Sir's Cards › AWS
rpm / dpkg queries
This revision card explains rpm / dpkg queries. It starts from the need that know what is installed. It describes -qa all, -ql files. The how-to section notes -qf / -S who owns a file. An example on the card is owner of a file.
Read card text
What this card says
Why do we need it?
Know what is installed.
What is it?
-qa all, -ql files.
How to do it
-qf / -S who owns a file.
Example
Owner of a file.
rpm -qf /etc/ssh/sshd_config