天天看點

有用的Linux網絡指令

/etc/rc.d/init.d/network   start - command to start, restart or stop the network

List externally connected processes: netstat -punta

List all connected processes: netstat -nap

Show network statistics: netstat -s

Kernel interface table info: netstat -a -i eth0

(Ubuntu Note: Typically Ubuntu installs tracepath for IPv4 and traceroute6 for IPv6. One can install traceroute: apt-get install traceroute)

traceroute IP-address-of-server

traceroute domain-name-of-server

mtr IP-address-of-server

mtr domain-name-of-server

Example: host domain-name-of-server

本文轉自 tiger506 51CTO部落格,原文連結:http://blog.51cto.com/tiger506/362548,如需轉載請自行聯系原作者

下一篇: ifconfig指令

繼續閱讀