Linux "ping -a " analogue

Stuart Sears stuart at sjsears.com
Sat Sep 25 21:04:29 UTC 2004


On Fri 24 September 2004 16:55, Milen Dimitrov wrote:
> 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?
host?
[stuart at behemoth] ~ $ host 192.168.0.2
2.0.168.192.in-addr.arpa domain name pointer mail.xxxxx.com.
[stuart at behemoth] ~ $ host google.com
google.com has address 216.239.57.99
google.com has address 216.239.37.99
google.com has address 216.239.39.99
-- 
Stuart Sears RHCE, RHCX
Quidquid latine dictum sit, altum viditur





More information about the redhat-list mailing list