What to do if ifconfig cannot be used in CentOS

angryTom
Release: 2020-03-17 14:00:16
Original
2492 people have browsed it

What to do if ifconfig cannot be used in CentOS

CentOS ifconfig无法使用怎么办

解决方法:安装net-tools包

sudo yum install net-tools -y
Copy after login

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

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

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

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

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

The above is the detailed content of What to do if ifconfig cannot be used in CentOS. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!