Thursday, July 3, 2008

Using WGET to download files through http_proxy

setup the env then execute the wget command as below:

export http_proxy=http://www-proxy.company.com:80


wget --output-document=jdk-1_5_0_15-linux-i586.bin http://cds.sun.com/is-bin/jdk-1_5_0_15-linux-i586.bin