Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The problem I am facing is that while I open a link in my browser it loads quickly but whenever I try using the link in terminal with for e.g. curl -0 www.google.com or wget www.google.com , both of them says

     unable to resolve host address `www.google.com'

I have already crossed checked the url if I have done any sort of mistake while writing the url but everything is correct.

Can any one tell what the problem is?

share|improve this question
1  
This is a guess: Do you have a proxy enabled? Please research how to obtain this information for your browser. – ayckoster Dec 12 '12 at 13:03
    
Yes I do. My network goes through proxy. Tell me how can I bypass it for curl/wget?? – Debopam Dec 12 '12 at 18:08
up vote 3 down vote accepted

Set the http proxy with command line.

export http_proxy="http://theipofproxy:port"

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .