PING (ip) 56(84) bytes of data.
64 bytes from (ip): icmp_seq=1 ttl=116 time=22.3 ms
64 bytes from (ip): icmp_seq=1 ttl=116 time=22.3 ms
(hostname) 64 bytes from (ip): icmp_seq=1 ttl=116 time=22.3 ms
(hostname) 64 bytes from (ip): icmp_seq=1 ttl=116 time=22.3 ms
64 bytes from (ip): icmp_seq=1 ttl=116 time=22.3 ms
(hostname) 64 bytes from (ip): icmp_seq=1 ttl=116 time=22.3 ms
64 bytes from (ip): icmp_seq=1 ttl=116 time=22.3 ms
Asked
Active
Viewed 86 times
1
1 Answers
1
That looks to be the default behavior of ping
. According to the man page, you can add the -n
option to get numeric values only and not resolve host names.

Daniel Walker
- 801
- 1
- 9
- 35
-
1I think the question shows an inconsistency in the output where some lines start with a hostname and others do not – Chris Davies Feb 22 '23 at 08:04
ping
are you using? – Stéphane Chazelas Feb 22 '23 at 08:05ping
command are you running to produce this output? – Chris Davies Feb 22 '23 at 08:05