Skip to main content
added 2 characters in body
Source Link
Sandro Munda
  • 41.3k
  • 24
  • 104
  • 125

You can make a alias in your ~/.bashrc file :

alias curl="curl -x <proxy_host>:<proxy_port>" 

Another solution is to use (maybe the better solution) the ~/.curlrc~/.curlrc file (create it if it does not exist) :

proxy = <proxy_host>:<proxy_port> 

You can make a alias in your ~/.bashrc file :

alias curl="curl -x <proxy_host>:<proxy_port>" 

Another solution is to use (maybe the better solution) the ~/.curlrc file (create it if it does not exist) :

proxy = <proxy_host>:<proxy_port> 

You can make a alias in your ~/.bashrc file :

alias curl="curl -x <proxy_host>:<proxy_port>" 

Another solution is to use (maybe the better solution) the ~/.curlrc file (create it if it does not exist) :

proxy = <proxy_host>:<proxy_port> 
Source Link
Sandro Munda
  • 41.3k
  • 24
  • 104
  • 125

You can make a alias in your ~/.bashrc file :

alias curl="curl -x <proxy_host>:<proxy_port>" 

Another solution is to use (maybe the better solution) the ~/.curlrc file (create it if it does not exist) :

proxy = <proxy_host>:<proxy_port>