Linux "ping -a " analogue

Milen Dimitrov milend at ansco.com
Fri Sep 24 15:55:56 UTC 2004


Hi gurus,

Windows' command "ping -a 192.168.0.1" will resolve the IP address 
192.168.0.1 into to a name if possible.
What is the linux analogue of this command?
Linux ping command doesn't seem to be able to do that...
Any ideas?
============================
C:\>ping -a 192.168.0.1

Pinging MYNEWPC [192.168.0.1] with 32 bytes of data:

Reply from 192.168.0.1: bytes=32 time<10ms TTL=64
Reply from 192.168.0.1: bytes=32 time<10ms TTL=64
Reply from 192.168.0.1: bytes=32 time<10ms TTL=64
Reply from 192.168.0.1: bytes=32 time<10ms TTL=64

Ping statistics for 192.168.0.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum =  0ms, Average =  0ms
=================================










More information about the redhat-list mailing list