wget Command

In this tutorial we learn how to use wget commmand.

What is Linux wget Command?

In this tutorial we learn how to use wget command.

From the man page:

wget is a tool for transfering data from or to a server. It supports these protocols: DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET or TFTP. The command is designed to work without user interaction.

wget offers a busload of useful tricks like proxy support, user authentication, FTP upload, HTTP post, SSL connections, cookies, file transfer resume and more.

wget Syntax

wget <options> <url>

wget Examples

wget Command Manual / Help

We can use man and info command to see the manual page of wget command.

wget command also have --help option to show list of options.

To open man page for wget command we can use command below. To exit man or info page you can press q.

man wget

To open info page for wget command we can use command below.

info wget

To open help page from wget command we can run command below.

wget --help

References

You can find more information about wget from the following links:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use wget with practical examples.

Visit our Linux Commands guide to learn more about using command line interface in Linux.