unix

How do I use wget for URLs with ampersands?

If you try using wget for a URL with an ampersand (&) you will discover that it will not work as expected and will send the process to the background. To alleviate this problem, you must use single quotes like this:

wget ‘http://www.mysite.com/someurl&action=view’

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top