First, Introduction
Linux system download file tool to download files from the specified URL
Ii. Methods of Use
Syntax: wget [parameters] [url address] Option:-C then download the file that is not downloaded after-B is launched into the background to perform-p specifies the download directory-o change download file name--ftp-user--ftp-password Use the FTP user authentication download parameters: The specified file download URL address
Third, the case
1. Download a single file using wget
wget http://cn2.php.net/distributions/php-5.6.13.tar.gz
2. Download and save with a different file name
Wget-o php5.6.tar.gz http://cn2.php.net/distributions/php-5.6.13.tar.gz
3. Using wget breakpoint to continue transmission
Wget-c http://cn2.php.net/distributions/php-5.6.13.tar.gz
4. Using wget background download
Wget-b http://cn2.php.net/distributions/php-5.6.13.tar.gz
Tail-f Wget-log #查看文件下载进度
5. Download to the specified directory using wget
wget Http://cn2.php.net/distributions/php-5.6.13.tar.gz-P download/
6. Using wget username and password Authentication download
wget--ftp-user=ftp_usser_name --ftp-password=user_password ftp_address
Linux wget download