I want to get the hostname of a remote server using the IP address using my Ubuntu.
In Windows we can get using NBTSTAT but this doesn't work in Linux.
Does anyone know how to do that?
To find a hostname in your local network by IP address you can use:
To find a hostname on the internet you could use the
Or you can install
Just another minor addition to others contribution, in case you don't know the IP.
If you don't know your then type:
You may find the there. Then, all you need to do is use the:
command as mentioned before.
Although this is a already answered question, I may found useful add this simple hint to ubuntu-linux newcomers.