Environment Variables
I use many applications that access the net many of them require the environment variable http_proxy to be set as I am behind a proxy which requires authentication.
To save the trouble of creating a new environment variable every time I launch a shell i put the following lines in the .bash_profile file export http_proxy=http://username: password@myproxyname:80 (this is the same command i use everytime i launch a shell to set the http_proxy environment variable) However after the linux boots and i open a new shell... i get the http_proxy variable like this upon echoing echo $http_proxy http://username@password:myproxyname:80 I dont know why the places of '@' and ' : ' have gotten interchanged ... I checked my .bash_profile again but its all right there ... Hope someone can help me out on this ... I use Fedora Core 6 Thanks in advance :) |
export http_proxy="http://username: password@myproxyname:80"
what happens when you put that in the file and reboot? |
nope ... it didnt work either
it still gives the same output to echo http://username@password:myproxyname:80 Thanks for the help anyways :) |
All times are GMT -5. The time now is 01:17 AM. |