小编skg*_*skg的帖子

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

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}
Run Code Online (Sandbox Code Playgroud)

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

Can anyone help me resolving this issue ?

scripts networking proxy

8
推荐指数
1
解决办法
1万
查看次数

标签 统计

networking ×1

proxy ×1

scripts ×1