How to set system-wide proxy address using shell script?

Posted by skg on Ask Ubuntu See other posts from Ask Ubuntu or by skg
Published on 2013-10-31T10:11:05Z Indexed on 2013/10/31 10:20 UTC
Read the original article Hit count: 231

Filed under:
|
|
|

I want to set system Proxy address through my Qt application. So i was wondering if i could write a script which can be executed by my application every time to change the proxy address.

I tried :

 #! /bin/sh 
 echo "# Generated by Application"

 export $1
 echo "Proxy Address ${1}

but this script was not successful. I think it was unable to execute "export" command.

Can anyone help me resolving this issue ?

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about networking