On 18Nov2014 02:31, Bill Shirley bshirley@memphis.apirx.biz wrote:
You can put this in your ~/.bashrc: export http_proxy="http://127.0.0.1:3128" export ftp_proxy="ftp://127.0.0.1:3128"
They both need to be "http://127.0.0.1:3128/"; the proxy protocol is HTTP, hence the same scheme for each. Also https_proxy. Of course, adjusted for whatever is correct.
I'm not sure how many utilities use it but I think wget does.
Quite a few.
However, the point of the OP was to set this at a system level as a default for many machines, so the .bashrc is pretty much the worst place to want to put this, being a per-user setting (and only for those using bash, and only for settings where that is involved in invoking applications).
Cheers, Cameron Simpson cs@zip.com.au
I thought back to other headaches from my past and sneered at their ineffectiveness. - Harry Harrison