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
This involves LInux Programming