美文网首页Linux
判断Linux服务器是否联网

判断Linux服务器是否联网

作者: Y大宽 | 来源:发表于2019-05-26 16:30 被阅读28次
$ ping www.baidu.com
PING www.a.shifen.com (14.215.177.39) 56(84) bytes of data.
64 bytes from 14.215.177.39 (14.215.177.39): icmp_seq=1 ttl=53 time=12.7 ms
64 bytes from 14.215.177.39 (14.215.177.39): icmp_seq=2 ttl=53 time=13.0 ms
64 bytes from 14.215.177.39 (14.215.177.39): icmp_seq=3 ttl=53 time=12.8 ms
64 bytes from 14.215.177.39 (14.215.177.39): icmp_seq=4 ttl=53 time=12.9 ms
64 bytes from 14.215.177.39 (14.215.177.39): icmp_seq=5 ttl=53 time=12.8 ms
64 bytes from 14.215.177.39 (14.215.177.39): icmp_seq=6 ttl=53 time=12.8 ms
64 bytes from 14.215.177.39 (14.215.177.39): icmp_seq=7 ttl=53 time=12.7 ms
64 bytes from 14.215.177.39 (14.215.177.39): icmp_seq=8 ttl=53 time=12.9 ms
64 bytes from 14.215.177.39 (14.215.177.39): icmp_seq=9 ttl=53 time=12.8

表示已经联网

相关文章

网友评论

    本文标题:判断Linux服务器是否联网

    本文链接:https://www.haomeiwen.com/subject/rnhftctx.html