How to stop a ping

ookahh1 Posted messages 61 Registration date   Status Membre Last intervention   -  
 Anonymous user -
Hello, I would like to know how to stop the scrolling when I do a ping
example:
ping google.com
64 bytes from 41.189.63.19: icmp_seq=277 ttl=57 time=215 ms
64 bytes from 41.189.63.19: icmp_seq=278 ttl=57 time=47.5 ms
64 bytes from 41.189.63.19: icmp_seq=279 ttl=57 time=147 ms
64 bytes from 41.189.63.19: icmp_seq=280 ttl=57 time=134 ms
64 bytes from 41.189.63.19: icmp_seq=281 ttl=57 time=135 ms
64 bytes from 41.189.63.19: icmp_seq=282 ttl=57 time=82.7 ms
64 bytes from 41.189.63.19: icmp_seq=283 ttl=57 time=28.5 ms
64 bytes from 41.189.63.19: icmp_seq=284 ttl=57 time=27.5 ms
64 bytes from 41.189.63.19: icmp_seq=285 ttl=57 time=28.5 ms
64 bytes from 41.189.63.19: icmp_seq=286 ttl=57 time=28.3 ms
64 bytes from 41.189.63.19: icmp_seq=287 ttl=57 time=34.5 ms
64 bytes from 41.189.63.19: icmp_seq=288 ttl=57 time=32.6 ms
................................................
...........................................
................................

2 réponses

zipe31 Posted messages 34620 Registration date   Status Contributeur Last intervention   6 500
 
Hi,

CTRL+C

Otherwise, run the command specifying the number of attempts (-c 4):

ping -c 4 google.fr

--
Zen my nuggets ;-)
18