PDA

View Full Version : how do I find host names on my lan?



turbine
04-13-2007, 07:55 PM
I know this is a simple minded question for all of you wizards; Harry be merciful I bruise easily. I know I can determine the ip addresses of all of the machines on my lan by using the nmap command. But once I have the ip addresses then how do I find the corresponding hostnames? What command should I use?

hal8000
04-18-2007, 09:57 AM
Theres probably more than one way to do this but from a terminal just use
hostname

this will return the hostname. If you installed knoppix then you will have set a hostname during installation.


If you have remote machines, just telnet into each machine and again use hostname.