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.

How would one go about downloading a file from the command line using Bash but not Wget or Curl?

share|improve this question

2 Answers 2

up vote 9 down vote accepted

This is not Bash, but does work in an environment without wget or curl

lynx -source example.com > index.html
share|improve this answer

This works with telnet instead of lynx:

(echo 'GET /'; echo; sleep 1; ) | telnet example.com 80
share|improve this answer

Your Answer


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.