Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Find the rpm package to which the command belongs

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

You can execute commands such as the following on systems where this command is installed, for example, to find the rpm package to which netstat belongs

[root@localhost ~]#rpm -qf /usr/bin/netstatnet-tools-2.0-0.17.20131004git.el7.x86_64

You can also use the yum command to search locally, as follows

When the command is not installed, the status is as follows

[root@r820a ~]# yum whatprovides telnetLoaded plugins: fastestmirror, langpacksLoading mirror speeds from cached hostfile1:telnet-0.17-59.el7.x86_64 : The client program for the Telnet remote login protocolRepo : local

When the command is installed, the status is as follows

[root@r820a ~]# yum whatprovides scpLoaded plugins: fastestmirror, langpacksLoading mirror speeds from cached hostfilelocal/filelists_db | 2.9 MB 00:00:00 openssh-clients-6.6.1p1-22.el7.x86_64 : An open source SSH client applicationsRepo : localMatched from:Filename : /usr/bin/scp

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report