简单的问题:如何ping在 Linux 上显示输出中的行号?
我的意思是:
1 64 bytes from www.site.com (2.7.1.1): icmp_req=1 ttl=247 time=17.9 ms
2 64 bytes from www.site.com (2.7.1.1): icmp_req=2 ttl=247 time=16.1 ms
3 64 bytes from www.site.com (2.7.1.1): icmp_req=3 ttl=247 time=16.1 ms
Run Code Online (Sandbox Code Playgroud)