User Tools

Site Tools


wget:download_in_the_background

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wget:download_in_the_background [2016/07/09 23:07] – created peterwget:download_in_the_background [2019/12/04 22:36] (current) – removed peter
Line 1: Line 1:
-====== wget - Download in the Background ====== 
- 
-For a huge download, put the download in background using wget option **-b** as shown below. 
- 
-<code bash> 
-wget -b http://www.openss7.org/repos/tarballs/strx25-0.9.2.1.tar.bz2 
-</code> 
- 
-Displays: 
- 
-<code> 
-Continuing in background, pid 1984. 
-</code> 
- 
-Output will be written to `wget-log'. 
- 
-It will initiate the download and gives back the shell prompt to you. You can always check the status of the download using tail -f as shown below. 
- 
-<code bash> 
-tail -f wget-log 
-</code> 
- 
-Displays: 
- 
-<code> 
-Saving to: `strx25-0.9.2.1.tar.bz2.4' 
- 
-     0K .......... .......... .......... .......... ..........  1% 65.5K 57s 
-    50K .......... .......... .......... .......... ..........  2% 85.9K 49s 
-   100K .......... .......... .......... .......... ..........  3% 83.3K 47s 
-   150K .......... .......... .......... .......... ..........  5% 86.6K 45s 
-   200K .......... .......... .......... .......... ..........  6% 33.9K 56s 
-   250K .......... .......... .......... .......... ..........  7%  182M 46s 
-   300K .......... .......... .......... .......... ..........  9% 57.9K 47s 
-</code> 
- 
-Also, make sure to review our previous multitail article on how to use tail command effectively to view multiple files. 
- 
  
wget/download_in_the_background.1468105656.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki