set proxy for wget in ubuntu code example Example: using wget with a proxy wget -e use_proxy=yes -e http_proxy=$proxy http://askubuntu.com