title: How to return file path from wget command in bash?
body: <p>Is it possible to get the file path with wget from bash?</p>
  
  <p>I tried this, but it echo the file not the file path:</p>
  
  <pre><code>file=$(wget -qO- https://ninite.com/java/ninite.exe)
  echo "$file"
  </code></pre>
  
  <p>EDIT:
  I want something like this <a href="https://github.com/phoemur/wgetter#api-usage" rel="nofollow">https://github.com/phoemur/wgetter#api-usage</a> but in bash with wget.</p>