Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

This question explains how to do it with curl. The accepted answer also points out that

If wget is available, that would be far simpler.

I looked through mam wget but the got lost in there, and didn't find an option to follow redirects.

share|improve this question

1 Answer 1

up vote 7 down vote accepted

wget follows redirects automatically. Just give the URL as an argument

wget 'http://downloads.sourceforge.net/project/romfs/genromfs/0.5.2/genromfs-0.5.2.tar.gz'
share|improve this answer
Oh. I had given it the wrong url and wandering why it is not working. Thanks a lot. –  Vorac Aug 16 '13 at 8:18
Sourceforge URL's often need to be quoted due to the &'s in them as well (pre redirect) –  Matt Aug 16 '13 at 15:46

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.