Hi all, qq, I've got a file with a list of domains and ip addresses that looks like;
domain.com 8.8.8.8
domain2.com 8.8.8.7
for example....
I want to be able to run a for loop for each line in that file with the domain being variable 1 in the command and ip address being variable 2 in the command $domain & $ip for example. What's the best way to achieve this?