title: How to make wget to save with proper file name
body: <p>When I went to the ISC <a href="https://www.isc.org/downloads/" rel="noreferrer">here</a> to download BIND, my browser automatically saves the downloaded file correctly.  For example, if I click on the Download button for 9.9.4-P2, it pops up a window, and if I click on the "BIND 9.9.4-P2 - tar.gz" button on the right the browser automatically saves the downloaded file as "bind-9.9.4-P2.tar.gz".</p>
  
  <p>However what I'm trying to do is to download it via wget on Linux.  So I right click on the "BIND 9.9.4-P2 - tar.gz" button and copied the link which is "<a href="https://www.isc.org/downloads/file/bind-9-9-4-p1-tar-gz/?version=tar.gz" rel="noreferrer">https://www.isc.org/downloads/file/bind-9-9-4-p1-tar-gz/?version=tar.gz</a>".</p>
  
  <p>Now when I then issued the following command, it'd save it as 'index.html?version=tar.gz' instead.  Now I understand I can give it the -O option and explicitly specify the saved file name but is there a way for it to do this automatically similar to how my browser does it?</p>
  
  <pre><code>wget https://www.isc.org/downloads/file/bind-9-9-4-p1-tar-gz/?version=tar.gz
  </code></pre>