centos7 common command network

Display specified port information
lsof -i :22

telnet 127.0.0.1 3306 Test whether it is smooth, display the return request return information
ping ping 127.0.0.1 test whether it is smooth
curl http://xxx.com test whether it is smooth, display the return request return information

centos7 netstat -ntlpu View network status address port usage

Guess you like

Origin blog.csdn.net/shixiaodongmain/article/details/121979148