美文网首页
manjaro查询软件包有哪些命令

manjaro查询软件包有哪些命令

作者: EvineDeng | 来源:发表于2021-06-09 13:58 被阅读0次

pacman -Ql <package_name>yay -Ql <package_name>可以查询该软件包的所有文件,比如查询bind包:

[manjaro@laptop ~]$ pacman -Ql bind
bind etc/
bind etc/bind.keys
bind etc/named.conf
bind usr/
bind usr/bin/
bind usr/bin/arpaname
bind usr/bin/ddns-confgen
bind usr/bin/delv
bind usr/bin/dig
bind usr/bin/dnssec-cds
bind usr/bin/dnssec-checkds
bind usr/bin/dnssec-coverage
bind usr/bin/dnssec-dsfromkey
bind usr/bin/dnssec-importkey
bind usr/bin/dnssec-keyfromlabel
bind usr/bin/dnssec-keygen
......

[manjaro@laptop ~]$ yay -Ql bind
bind etc/
bind etc/bind.keys
bind etc/named.conf
bind usr/
bind usr/bin/
bind usr/bin/arpaname
bind usr/bin/ddns-confgen
bind usr/bin/delv
bind usr/bin/dig
bind usr/bin/dnssec-cds
bind usr/bin/dnssec-checkds
bind usr/bin/dnssec-coverage
bind usr/bin/dnssec-dsfromkey
bind usr/bin/dnssec-importkey
bind usr/bin/dnssec-keyfromlabel
bind usr/bin/dnssec-keygen
bind usr/bin/dnssec-keymgr
......

默认显示会将所有文件都显示出来,如只想显示可执行文件,可以进行筛选:

[manjaro@laptop ~]$ pacman -Ql bind | grep -E "/bin/.+"
bind usr/bin/arpaname
bind usr/bin/ddns-confgen
bind usr/bin/delv
bind usr/bin/dig
bind usr/bin/dnssec-cds
bind usr/bin/dnssec-checkds
bind usr/bin/dnssec-coverage
bind usr/bin/dnssec-dsfromkey
bind usr/bin/dnssec-importkey
bind usr/bin/dnssec-keyfromlabel
bind usr/bin/dnssec-keygen
bind usr/bin/dnssec-keymgr
bind usr/bin/dnssec-revoke
bind usr/bin/dnssec-settime
bind usr/bin/dnssec-signzone
bind usr/bin/dnssec-verify
bind usr/bin/host
bind usr/bin/mdig
bind usr/bin/named
bind usr/bin/named-checkconf
bind usr/bin/named-checkzone
bind usr/bin/named-compilezone
bind usr/bin/named-journalprint
bind usr/bin/named-nzd2nzf
bind usr/bin/named-rrchecker
bind usr/bin/nsec3hash
bind usr/bin/nslookup
bind usr/bin/nsupdate
bind usr/bin/rndc
bind usr/bin/rndc-confgen
bind usr/bin/tsig-keygen

[manjaro@laptop ~]$ yay -Ql bind | grep -E "/bin/.+"
bind usr/bin/arpaname
bind usr/bin/ddns-confgen
bind usr/bin/delv
bind usr/bin/dig
bind usr/bin/dnssec-cds
bind usr/bin/dnssec-checkds
bind usr/bin/dnssec-coverage
bind usr/bin/dnssec-dsfromkey
bind usr/bin/dnssec-importkey
bind usr/bin/dnssec-keyfromlabel
bind usr/bin/dnssec-keygen
bind usr/bin/dnssec-keymgr
bind usr/bin/dnssec-revoke
bind usr/bin/dnssec-settime
bind usr/bin/dnssec-signzone
bind usr/bin/dnssec-verify
bind usr/bin/host
bind usr/bin/mdig
bind usr/bin/named
bind usr/bin/named-checkconf
bind usr/bin/named-checkzone
bind usr/bin/named-compilezone
bind usr/bin/named-journalprint
bind usr/bin/named-nzd2nzf
bind usr/bin/named-rrchecker
bind usr/bin/nsec3hash
bind usr/bin/nslookup
bind usr/bin/nsupdate
bind usr/bin/rndc
bind usr/bin/rndc-confgen
bind usr/bin/tsig-keygen

如需要查询manjaro命令属于哪个软件包可访问:https://www.jianshu.com/p/08c40076632e

相关文章

网友评论

      本文标题:manjaro查询软件包有哪些命令

      本文链接:https://www.haomeiwen.com/subject/dljeeltx.html