ubuntu ping 计算机名,ubuntu ping 命令-Go语言中文社区

今天用ubuntu ping局域网的主机时, 发现一直在不停的ping,刚接触ubuntu,无奈太菜,汗~~~。

laugh.gif

64 bytes from 192.168.1.100: icmp_req=1 ttl=128 time=0.240 ms

64 bytes from 192.168.1.100: icmp_req=2 ttl=128 time=4.82 ms

64 bytes from 192.168.1.100: icmp_req=3 ttl=128 time=3.52 ms

64 bytes from 192.168.1.100: icmp_req=4 ttl=128 time=5.77 ms

64 bytes from 192.168.1.100: icmp_req=5 ttl=128 time=0.331 ms

64 bytes from 192.168.1.100: icmp_req=6 ttl=128 time=0.274 ms

64 bytes from 192.168.1.100: icmp_req=7 ttl=128 time=0.238 ms

64 bytes from 192.168.1.100: icmp_req=8 ttl=128 time=0.242 ms

64 bytes from 192.168.1.100: icmp_req=9 ttl=128 time=0.246 ms

64 bytes from 192.168.1.100: icmp_req=10 ttl=128 time=0.234 ms

解决方法。

1. ctrl + c

2.采用这个命令ping主机: ping -c 10 192.168.1.100 (10次),不用过多解释吧~~~~

laugh.gif

=========================================================================

Ctrl+C:送SIGINT信号,默认进程会结束,但是进程自己可以重定义收到这个信号的行为。

Ctrl+Z:送SIGSTOP信号,进程只是被停止,再送SIGCONT信号,进程继续运行。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值