user873286 user873286 - 1 year ago 165
Linux Question

Linux curl command with proxy

I have this proxy address:

How can I use it with the curl command, for example:
, but I need to do this using the proxy address.

Answer Source

General way:

export http_proxy=http://your.proxy.server:port/

Then you can connect through proxy from (many) application.

And, as per comment below, for https:

export https_proxy=https://your.proxy.server:port/
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download