You might need to install nslookup. If you have the rights, you can use your Linux distribution’s installation command to install this tool. On Debian and Ubuntu, the command below will install nslookup:

sudo apt install nslookup

Once you have the tool, just use it in the following fashion:

nslookup <website>

Same goes for ping command:

ping <website>

You’ll have to use Ctrl+C to stop the ping command.

A sample output for LinuxQuickTips looks like this:

I hope this quick Linux tip helped you to find the IP address of a website in terminal.

Share this:

Other Linux Command Tips

About Abhishek Prakash

I am a software developer by profession and a Linux user by passion. I also co-founded It's FOSS. Linux Quick Tips is my quick notebook where I share quick Linux command tricks, some basic and some advanced.

Comments

I am surprised/shocked to note about the news of sale deals of open source software companies by some business organisations engaged in software business. Will it not lead to control of open source software by big business tycoons? I will like to hear frrom you in the matter.