Howto: Get the IP address of a domain in a one liner
May 12th, 2011
Warning: This post is 13 years old. Some of this information may be out of date.
I have a need in a bash shell to get the public IP address of a domain name. Here's how to achieve it:
andrew@andrew:~$ dig +short A www.euperia.com
193.228.155.183
Cool huh?
Previous →
Hack to play minesweeper on Amazon Kindle