[BASH Script] IP lookup


Recommended Posts

I'm VERY new to bash, so im sure this is the most simple of problems.

Heres what I'd like to do:

run this command: "host website.com"

sort through the gumph and leave myself with just the ipaddress it returns.

I have no idea how to do it though, im sure it will only take one of the many linux gurus here seconds though ;)

Thanks, Scott.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.