Command-line file downloader (wget)

The wget command is one of the most popular non-interactive command-line file downloaders in Linux. It can download multiple files/directories and can work in the background as well. The downloaded web page can be opened with any graphical or non-graphical browser.

Some of its popular features are as follows:

  • Support of HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies
  • Resume partial downloads
  • Large file downloads
  • Recursive downloads for mirroring a website
  • Password-required downloads

The syntax of wget command is shown here:

$ wget   <url>
An example of wget command usage is shown here:

Get CentOS Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.