I was trying to download file from link http://ligman.me/VSpodw using wget. but it saving the file name as VSpodw as last characters of url . but when i download same file with browser it changes its name to the file specific. So how to do this file working with wget. How to save file with that original name rather than this random string.
You have two options:
use wget with the name of the file:
wget --content-disposition 'http://ligman.me/VSpodw'
You can use the
wget http://some/url -O some.file
Caution: if your wget command downloads several files, they will be concatenated if the file you specify.