Get the App
SLTechnology News&Howtos  ›  Development  › 

What is the use of Linux's rpmquery command

Shulou Source: shulou.com Published: 2022-06-01 18:28:55 10月03日 Update

This article is a detailed introduction to "what is the use of Linux rpmquery command". The content is detailed, the steps are clear, and the details are properly handled. I hope this article "what is the use of Linux rpmquery command" can help you solve your doubts. Let's go deeper and learn new knowledge together with the ideas of Xiaobian.

The rpmquery command queries package information from the rpm database using a variety of criteria.

rpmquery Query package information from RPM database

Syntax rpmquery(option) Option-qf: Query the package to which the specified file belongs; -q: Query whether the specified package is installed; -qc: Query the configuration file in the package; -qd: Query the document file in the package; -qi: Query the basic information of the package. Example Use the rpmquery command to query the package to which the specified file belongs:

[root@localhost ~]# rpmquery -qf /usr/bin/htpasswd httpd-2.2.3-81.el5.centos Read here, this article "Linux rpmquery command What is the use" article has been introduced, want to master the knowledge of this article also need to practice to understand, if you want to know more about the content of the article, welcome to pay attention to the industry information channel.

Tags: Software software packages queries commands files information articles content ownership data databases propriety variety examples commonly used ideas documents new knowledge more steps Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Shulou Tech Info OPPO Reno Linux Docker