To get the IP address of a website URL or a domain name, you can use the
ping command followed by the website URL in the terminal on Linux.
For example, to get the IP address of the website
google.com you can use the
ping command like this,
# Get IP address of website ping google.com
The command will output some information like below,
As you can see from the output, the IP address of the website is shown after the website URL inside the brackets.
That's all 😃!