Re: script or other suggestion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23/11/2007, chloe K <chloekcy2000@xxxxxxxx> wrote:
> this is very fast
>
> how come sometimes I get the hostname, most of the time it can't
>
> how can I have hostname to print it out?
>
>
> Host 192.168.63.245 appears to be up.
> Host 192.168.63.246 appears to be up.
> Host 192.168.63.247 appears to be up.
> Host 192.168.63.248 appears to be up.
> Host zzz.com (192.168.63.249) appears to be up.
> Host 192.168.63.250 appears to be up.
> Host 192.168.63.251 appears to be up.
>
> Thank you
>
> Jim Canfield <jcanfield@xxxxxxxxxxx> wrote: or...just use nmap to ping a range.
>
> EX:  nmap -sP 192.168.1.1-254

If the host is not defined in dns, you won't get a translation of the
ip address to hostname.

Just compare the output of these commands:
'host 192.168.63.247'
'host 192.168.63.249'

Kind regards,

Herta

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux