nmblookup ?
how can I find the name of a computer if I know it's IP address ? is it with nmblookup ? if so could you give me the complete command to do this ?
|
why dont u look at the man page of nmblookup "man nmblookup" or u dont type "nmblookup --help" ?
if u did one of those u would see the answer. |
well to my understanding I should use nmblookup -T ip_address, but it says name query failed :scratch:
|
when u do nmblookup --help, u will see:
-A, --lookup-by-ip Do a node status on <name> as an IP so try: nmblookup -A ip_address |
10x man, that did the trick, I'm so stupid :D, could I ask you one more question. Is there a way I could scan my entire network and write in a file the IP addresses of each workstation and near that IP address the name of the workstation ? (like in a hosts file)
|
yeah. u can write a shell script file to do that. i cant help u about shell script. cos im busy now. sorry.
|
All times are GMT -5. The time now is 08:57 PM. |