您的位置 首页 centos

CentOS ifconfig无法使用怎么办


CentOS ifconfig无法使用怎么办

解决方法:安装net-tools包

sudo yum install net-tools -y

对于centos7来说ifconfig已经过时了所以在centos7中找不到ifconfig命令了,

现在一般都使用"ip addr"和"ip link"来查看网卡信息

1、要查看网卡细节可以使用:“ip add”

2、查看网络接口统计 数据:“ip link”或者“ip -s link”

PHP中文网,大量thinkphp教程,欢迎学习!

文章来源:智云一二三科技

文章标题:CentOS ifconfig无法使用怎么办

文章地址:https://www.zhihuclub.com/12248.shtml

关于作者: 智云科技

热门文章

网站地图