linux find IP address hostname code example
Example 1: show ip address linux
$ hostname -I
Example 2: find ip domain linux
$ dig +short stackoverflow.com
69.59.196.211
$ hostname -I
$ dig +short stackoverflow.com
69.59.196.211