Majid Fouladpour Majid Fouladpour - 1 year ago 135
Bash Question

Why wget ignores query string in the url?

I want to use wget to download the following 18 html files:

No matter what comes after
, it always downloads the first page of the listing. Do I have to escape some characters in the urls? How?

Answer Source

& is a special character in most shell environments, you can use double quotes to quote the URL to pass the whole thing in as the parameter to wget:

wget ""
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download