Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use `HTTP_PROXY=http://xxx curl xxxx` all the way. Works for any program, without need to remember different option syntax.


In my experience the proxy environment variable (contrary to most other environment variables) must be lower case, i.e. “http_proxy”. Therefore:

  http_proxy=http://proxy-server.example:3128/ some_command


You are absolutely right. I stand corrected.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: