Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    Thanks that is a very useful answer. However, when I set http_proxy just with http_proxy=abc.com, it is visible to child processes, e.g. running wget without me exporting it. How can this be? Commented Apr 4, 2013 at 9:56
  • 4
    @mydoghasworms Two possible reasons. One, you are running the command as foo=bar command. This is an implicit export for a single command. The second possibility is that http_proxy is already exported in your environment before you modify it.
    – Chris Down
    Commented Apr 4, 2013 at 9:58
  • Ah yes, you are right. Brilliant, thanks! Commented Apr 4, 2013 at 10:06