#! /bin/bash proxy="server:port" export http_proxy="http://$proxy" export https_proxy=$http_proxy export ftp_proxy=$http_proxy export no_proxy="127.0.0.1, localhost, url" #! /bin/bash proxy="user:password@server:port" export http_proxy="http://$proxy" export https_proxy=$http_proxy export ftp_proxy=$http_proxy export no_proxy="127.0.0.1, localhost, url"