Bashrc.
function proxyaero()
{
echo -n "username:"
read -e username
echo -n "password:"
read -es password
export {http,https,ftp,ftps,gopher,wais}_proxy="http://$username:$password@10.101.1.5:90/"
export no_proxy=".iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost"
#some apps need the vairables in CAPS
export {HTTP,HTTPS,FTP,FTPS,GOPHER,WAIS}_PROXY="http://$username:$password@10.101.1.5:90/"
export NO_PROXY=".iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost"
}
function proxyhss(){
echo -n "username:"
read -e username
echo -n "password:"
read -es password
export {http,https,ftp,ftps,gopher,wais}_proxy="http://$username:$password@10.108.1.1:90/"
export no_proxy=".iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost"
#some apps need the vairables in CAPS
export {HTTP,HTTPS,FTP,FTPS,GOPHER,WAIS}_PROXY="http://$username:$password@10.108.1.1:90/"
export NO_PROXY=".iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost"
}
function proxynetmon(){
echo -n "username:"
read -e username
echo -n "password:"
read -es password
export {http,https,ftp,ftps,gopher,wais}_proxy="http://$username:$password@netmon.iitb.ac.in:90/"
export no_proxy="*.iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost"
#some apps need the vairables in CAPS
export {HTTP,HTTPS,FTP,FTPS,GOPHER,WAIS}_PROXY="http://$username:$password@netmon.iitb.ac.in:90/"
export NO_PROXY=".iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost"
}
export HISTFILESIZE=10000000
export HISTSIZE=10000000
export HISTIGNORE="rm*"
export HISTCONTROL=erasedups
proxycmdaero.sh
echo -n "Aero username:"
read -e username
echo -n "Aero password:"
read -es password
export {http,https,ftp,ftps,gopher,wais}_proxy="http://$username:$password@10.101.1.5:90/"
export no_proxy=".iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost"
#some apps need the vairables in CAPS
export {HTTP,HTTPS,FTP,FTPS,GOPHER,WAIS}_PROXY="http://$username:$password@10.101.1.5:90/"
export NO_PROXY=".iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost"
"$@"
proxycmdnetmon.sh
echo -n "Netmon username:"
read -e username
echo -n "Netmon password:"
read -es password
export {http,https,ftp,ftps,gopher,wais}_proxy="http://$username:$password@netmon.iitb.ac.in:90/"
export no_proxy="*.iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost"
#some apps need the vairables in CAPS
export {HTTP,HTTPS,FTP,FTPS,GOPHER,WAIS}_PROXY="http://$username:$password@netmon.iitb.ac.in:90/"
export NO_PROXY=".iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost"
"$@"
proxycmdhss.sh
echo -n "HSS username:"
read -e username
echo -n "HSS password:"
read -es password
export {http,https,ftp,ftps,gopher,wais}_proxy="http://$username:$password@10.108.1.1:90/"
export no_proxy=".iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost"
#some apps need the vairables in CAPS
export {HTTP,HTTPS,FTP,FTPS,GOPHER,WAIS}_PROXY="http://$username:$password@10.108.1.1:90/"
export NO_PROXY=".iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost"
"$@"