Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I run ping <hostname> command in console and it now outputs hundreds of those rows now (icmp_seq=526 ttl=64 time=0.026 ms), icmp_seq is like 500 or more now. How to stop it? (linux debian)
Should i just close console?
ping -n 10 is typical of microsoft ping. ping -c 10 is typical of modern linux (e.g. where it comes from iputils package for redhat or debian). The foundational ping by Mike Muuss had the count as an optional third argument. The command line details of the 1933 Marjorie Flack version are unclear.
Voted +1, this worked in my case, although I couldn't find any shortcuts (I use Ubuntu 17.Xxx). When I just press Ctrl+C in console , I get nothing (I guess it's used as "Copy" in my case?), but when I press Ctrl+Shift+C, I get output in console as "^C".
ping -c 10 localhost
ping -n 10
is typical of microsoft ping.ping -c 10
is typical of modern linux (e.g. where it comes from iputils package for redhat or debian). The foundational ping by Mike Muuss had the count as an optional third argument. The command line details of the 1933 Marjorie Flack version are unclear.