For user the authenticate. Must run it with source authenticate.sh
Set the RM and password.
Enjoy!!!
| #!/bin/bash | |
| echo -n RM: | |
| read rm | |
| echo '' | |
| echo -n Password: | |
| read -s password | |
| echo | |
| # Run Command | |
| #echo $rm | |
| #echo $password | |
| export http_proxy=http://$rm:$password@192.168.1.100:8080 | |
| export https_proxy=http://$rm:$password@192.168.1.100:8080 | |
| export no_proxy=localhost,.my.company |