Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

up vote 2 down vote accepted

Set the http proxy with command line.

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.