wget
NetworkBeginner In real LinuxDownload files from the web
Name: wget = World Wide Web get
This command needs a real Linux system; you can practise it in real Linux mode.
Description
wget is a non-interactive downloader that saves files straight to disk. It shines with large downloads (resume with -c, automatic retries) and can mirror whole sites recursively. Compared with curl it focuses on downloading.
Syntax
wget [OPTION]... URL...Common options
| -O / --output-document FILE | Save under a given name |
| -P / --directory-prefix DIR | Save into the directory DIR |
| -c / --continue | Resume a partial download |
| -q / --quiet | Quiet |
| -b / --background | Download in the background (progress in wget-log) |
| -i / --input-file FILE | Download every URL listed in FILE |
| -r / --recursive | Download recursively |
| --limit-rate RATE | Limit the speed, e.g. --limit-rate=200k |
| -t / --tries NUM | Retry at most NUM times |
| -T / --timeout SECONDS | Time-out in seconds |
| --spider | Only check that the URL works; download nothing |
| --no-check-certificate | Do not check the HTTPS certificate (testing only) |