Linux 查看命令归属哪个包?Linux 查看linux 哪个包包含特定命令?fedora 查询哪个包提供特定命令;ubuntu 查找哪个包提供命令;
在 fedora 和 centos 等 redhat 系列中,命令:
yum provides tc
[root@dock ~]# yum provides tc iproute-tc-5.0.0-2.fc29.x86_64 : Linux Traffic Control utility Repo : @System Matched from: Provide : tc iproute-tc-5.0.0-2.fc29.x86_64 : Linux Traffic Control utility Repo : updates Matched from: Provide : tc iproute-tc-4.18.0-3.fc29.x86_64 : Linux Traffic Control utility Repo : fedora Matched from: Provide : tc
在 ubuntu 和 debian中,命令:
apt install apt-file
apt-file search -F bin/tc
➜ ~ apt-file search -F sbin/tc iproute2: /sbin/tc
保持更新;更多内容,请关注cnblogs.com/xuyaowen;