Home Linux 3 Wget Command Examples in Linux

3 Wget Command Examples in Linux

How can I use the Wget command in Linux ??

Wget command is used to get contents from the web to your local system. It is the command-line utility. Most popular Linux command to download the content from the web. Wget is the non – interactive command. This means it can also work in the background.

In this article, you will know practical examples of wget utility on Linux system.

Example 1: Download a file from the Internet

In fact, it’s a very simple process to download any file from the web on your local system.

For example, you have a download link, then just add the wget keyword before the URL.

Moreover, we have attached the screenshot below:

wget command in Linux
wget command in Linux
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb 

Example 2: Limit the Downloading Speed

Additionally, you can also set the downloading speed for the particular link.

$ wget –limit-rate=512k https://itsmearunchandel.co.in/example.deb

Example 3: Download files in the Background

wget is the non-interactive command. So it will not affect your work and downloading will remain to continue in the background.

$ wget -b https://itsmearunchandel.co.in/example.deb 

Read More: 6 Important Examples of Find Command.

Example 4: Check Version

To check the wget command version, just run the following command:

$ wget --version

Conclusion: You have successfully learned how to use wget utility in Linux. For any feedback, kindly write in the below comment box.


Please enter your comment!
Please enter your name here