Write a Bash script domain2ip that takes a list of domain names as command line arguments and displays their IP addresses. Use the nslookup command. The following is a sample run of this program.
$ domain2ip up.edu redhat.com
Name: up.edu
Address: 192.220.208.9
Name: redhat.com
Address: 207.175.42.154
This involves LInux Programming