REF. askubuntu.com
To find a hostname in your local network by IP address you can use:
To find a hostname in your local network by IP address you can use:
nmblookup -A
To find a hostname on the internet you could use the host
program:host
Or you can install nbtscan
by running:sudo apt-get install nbtscan
And use:nbtscan
++
$ hostnamectl
$ ifconfig eth0 | grep inet
No comments:
Post a Comment