find local computers

Manuel Aróstegui Ramirez manuaroste at yahoo.es
Mon Mar 1 10:13:03 UTC 2004


 --- Marty Landman <MLandman at face2interface.com>
escribió: > At 09:36 AM 3/1/2004, MKlinke wrote:
> >
> >"nmap" will also ping as well as return the DNS
> name of the computers it finds
> 
> I tried this on a fbsd box where nmap is installed
> and the results weren't 
> thorough, explained to me that the arp cache
> wouldn't have every node in it 
> if they weren't recently accessed. If that's not
> right then it's likely my 
> misunderstanding.
> 
> >"host <ip_address>" returns the DNS name
> >"nmblookup -A <ip_address>" returns the Netbios
> name
> 
> Thanks this is what I'm looking for as I can awk one
> of these commands and 
> get what I want this way.

If you've got the samba server on your machine, the
smbclient will give to you the ip and the name of the
machine you connect to (also it will give to you it's
shares files)

Cheers
> 
> Marty Landman   Face 2 Interface Inc.   845-679-9387
> FormATable  DB:
> http://face2interface.com/Products/FormATable.shtml
> Make a Website:
> http://face2interface.com/Home/Demo.shtml
> Free Formmailer:
> http://face2interface.com/Products/Formal.shtml  
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe
>
mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list 

=====
--

Manuel Aróstegui Linux user 200896

___________________________________________________
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es





More information about the redhat-list mailing list