How To Download Files Using Command Line In Linux

Share on FacebookShare on Google+Tweet about this on TwitterPin on PinterestShare on RedditPrint this page

‘wget’ command can be used in Linux in order to download files from the command line.

1. Change to the directory of your choice and issue the following command in the terminal:

wget <http link to the file to be downloaded>

In above example, we have started a download of Mozilla Firefox setup using the ‘wget’ command.

2. Suppose that you need to pause the download for some reason. You can press ‘Ctrl’+’C’ keys simultaneously to pause the download.

3. To resume the download at a later time, change to the previously selected directory and issue the following command at the terminal:

wget -c <http link to the file to be downloaded>

Thus, you can download files in Linux with resume support via command line without the need to install a download manager.