When I download anything by means of wget, how can I set the download directory? I mean just like while normally downloading something from web there's a prompt asking where to save. Is it possible to set the directory while downloading with wget? Thanks in advance.
When you open the terminal, by default, you are in your home directory. If you wish to download with
wget into some other directory, simply change directories to the desired location; for example:
cd ~/Downloads wget http://blah/some_file
Or, another example:
cd ~/Desktop wget http://blah/some_file