This Blog is to share our knowledge and expertise on Linux System Administration and VMware Administration

Friday, September 18, 2015

How to download a large file on a Linux Server or Desktop?

Run wget In Background For Downloading Files on a Linux Server or Desktop

Syntax
wget -bqc http://path-to-url/linux.iso

You will see a PID on screen:

-b: Go to background immediately after start up. If no output file is specified via the -o, output is redirected to wget-log.
-q : Turn off Wget’s output and save disk space.
-c : Resume broken download i.e. continue getting a partially-downloaded file. This is useful when you want to finish up a
download started by a previous instance of Wget, or by another program.

This tip will save your time while downloading large ISO file or any other files from the Internet

The nohup command

You can also use the nohup command to execute commands after you exit from a shell prompt. The syntax is:
$ nohup wget -qc http://path-to-url/linux.iso &
$ exit

No comments:

Post a Comment