4 ms·
wget http://72.18.130.89/hackermonthly-issue1.pdf http://72.18.130.89/hackermonthly-issue1.pdf '--header=HOST: hackermonthly.com'
by coolboy89 16y ago
wget http://72.18.130.89/hackermonthly-issue1.pdf http://72.18.130.89/hackermonthly-issue1.pdf '--header=HOST: hackermonthly.com'
- modeless 16y agoI was surprised to find that OS X doesn't come with wget, but it does include curl: curl http://72.18.130.89/hackermonthly-issue1.pdf http://72.18.130.89/hackermonthly-issue1.pdf --header 'HOST: hackermonthly.com' > hackermonthly-issue1.pdf
- wwortiz 16y agofor future reference you don't have to use curl like that you can just do curl -O http://72.18.130.89/hackermonthly-issue1.pdf http://72.18.130.89/hackermonthly-issue1.pdf --header 'HOST: hackermonthly.com' to achieve the same result
- modeless 16y agoI figured the command line option existed but why bother looking it up in a man page and then memorizing it when > works perfectly?