How to run shell script on Windows?
Hi guys..I have this script named "script.sh" located in this directory "C:\cygwin\bin".. I wanna test which of these dns services which is the fastest for me in Denmark.
I thought i would need Cygwin and already installed it. So now i need to know how to run this script and where the results (output) will be saved..
The source of script.sh:
#!/bin/sh
for i in "lifehacker.com" "facebook.com" "manu-j.com" "reddit.com" "tb4.fr" "bbc.co.uk"
do
for j in "4.2.2.2" "8.8.8.8" "208.67.222.222"
do
echo $j $i `dig @$j $i | grep Query | awk -F ":" '{print $2}'`
done
done
thnx in advance
PS: I have Windows 7 Ultimate as OS
