CentOS7没有netstat、ifconfig、route命令

CentOS7已经用新命令代替6时代的老命令。

1、如继续使用老命令,安装net-tools
#查看net-tools信息
yum info net-tools

#安装net-tools
yum install net-tools

2、使用ss代替netstat
以前用netstat -ant
现在使用ss -ant、ss -nltp

3、使用ip addr show代替ifconfig

4、使用ip route show代替route

《CentOS7没有netstat、ifconfig、route命令》上的一个想法

评论已关闭。