Quote:
Originally Posted by Lakris
Hi,
to assign the output of wget to string1 You should use this insted:
Code:
string1=$(wget --dns-timeout=0.001 http://napdweb${i}.eao.abn-iad.ea.co.../test/test.jsp)
|
I doubt if it will work with wget(assigning the output of wget to string1), at least with my box, I didn't get any output..
Code:
yongitz@wolfgang:~$ string1=$(wget --dns-timeout=0.001 http://napdweb${i}.eao.abn-iad.ea.com:8000/webcore/test/test.jsp)
--14:18:38-- http://napdweb.eao.abn-iad.ea.com:8000/webcore/test/test.jsp)
=> `test.jsp'
Resolving napdweb.eao.abn-iad.ea.com... failed: Connection timed out.
yongitz@wolfgang:~$ echo $string1
yongitz@wolfgang:~$
Or I am just missing something...