Skip to content
Technology News Information & Jobs

Technology News Information & Jobs

Ubuntu Tutorials, Ubuntu How To , Linux Tips, Tech Jobs

  • Work with US
  • Search Jobs
  • Post a Job
  • Contact Us
  • Ubuntu
    • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Themes
  • Linux
  • Laptops
  • Tutorials
  • Job Dashboard
  • Toggle search form
9 Wget Command Examples In Linux For Beginners

9 Wget Command Examples In Linux For Beginners

Posted on June 21, 2019September 27, 2023 By admin No Comments on 9 Wget Command Examples In Linux For Beginners

Insight: 9 Wget Command Examples In Linux For Beginners

Wget command in Linux is often considered as a Linux file downloader. Wget is a command line utility in Linux to download files. In this tutorial post, we are going to see 11 different Wget command examples for beginners.

Useful Wget Command Examples In Linux For Beginners

Let’s start our tutorial by installing Wget in Ubuntu and Debian based operating system.

sudo apt install wget

For CentOS/Fedora/RHEL

sudo yum install wget

Basic Wget command syntax:

wget [OPTIONS] [URL]

Now, Let’s checkout the wget examples:

1. Download a file using wget command:

wget http://website.com/files/file.zip

2. How to download and save the file with a different name using wget command:

wget -O newfilename.zip http://website.com/files/file.zip

The above command will download the file and will save the file with the different name. Here you can see the option -0 to save the file with a different file name.

3.  How to download a file to a specific directory using the wget command in Linux:

Run the wget command with the option -P:

wget -P /tmp/downloadfolder http://website.com/files/file.zip

Above command will download the file to /tmp/downloadfolder directory.

4. How to download multiple files using wget command in Linux:

Run the following command to download multiple files using wget command in Linux:

wget http://website1.com/file.zip http://website2.com/filename.zip

5. How to download multiple files by reading URL’s from TEXT file:

This is one of the interesting feature as you can download multiple files by storing several urls in a text file. You should use -i option to download the files from the website address stored in a text file:

wget -i itsubuntu.txt

6. Download file using FTP protocol:

Run the following command to download file using wget with FTP protocol:

wget --ftp-user=FTP_USERNAME --ftp-password=FTP_PASSWORD ftp://ftp.example.com/itsubuntu.txt

7. How to download file in the background using Wget command in Linux:

With the -b option with wget,  you can start downloading the files in the background.

wget -b https://itsubuntu.com/linux-wget-examples/

8. How to resume uncompleted downloads:

Run the following command to resume the uncompleted download in Linux:

wget -c https://itsubuntu.com/linux-wget-examples/

9. Limit speed of download:

One of the interesting feature of wget as you can limit or control the speed of download in Linux with limit-rate option:

wget --limit-rate=50k https://itsubuntu.com/linux-wget-examples/

 

READ More Relevant Stuff:  Add Apt Repository In Ubuntu 22.04 LTS: Fix add-apt-repository command not found
Linux Tags:linux, wget

Post navigation

Previous Post: 9 Best File and Disk Encryption Tools For Linux [2021 Edition ]
Next Post: Steam Will No Longer Support Ubuntu : Valve

Related Posts

Best VNC Viewer Client Linux Operating System Best VNC Viewer Client Linux Operating System Linux
How To Run Linux Commands In background : Run Process In background How To Run Linux Commands In background : Run Process In background Linux
Deepin 20.5 Released With New Features & Improvements Deepin 20.5 Released With New Features & Improvements Debian
Best Node.js IDEs In 2019 Linux
AlmaLinux OS 8.6 Is Now Available for Download AlmaLinux OS 8.6 Is Now Available for Download Linux
Best Linux Terminal Games For Alltime Best Linux Terminal Console Games [Updated] Linux

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • New Job Search October 10, 2025
  • How To Enable Hibernate in Ubuntu 22.04 LTS May 20, 2024
  • Popular Ubuntu Games: Top 5 Games To Play March 17, 2024
  • WordPress | Your site doesn’t include support for the “generateblocks/container” block GenerateBlocks Plugin February 11, 2024
  • Ubuntu Autoremove Command Debian Autoremove Command February 10, 2024
  • How To Mount Windows 11 Shares on Debian Linux December 7, 2023
  • Anonymous Browsing 101: A Deep Dive Into Residential Proxies November 20, 2023
  • How To Correctly Install Uninstall Linux Ubuntu Nvidia Drivers Fast October 31, 2023
  • Ethical Web Design: The Dos and Don’ts October 28, 2023
  • Understanding the Role of Security Operations Center October 25, 2023
  • The Positive Effects of AI Tools and Online Services on Students Successful Essay-Writing Skills October 3, 2023

Categories

  • Android
  • Apple
  • Blogs
  • Debian
  • Fix
  • Gadgets
  • Game
  • Google
  • How To Ubuntu
  • Internet
  • Laptops
  • Linux
  • Linux Commands
  • Linux Game
  • Linux Mint
  • News
  • Operating Systems
  • Security
  • Technology
  • Themes
  • Tools
  • Tutorials
  • Ubuntu
  • ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Windows 11
  • Wordpress

Tags

android apps centos ChatGPT command Commands Debian deepin Desktop docker Fedora fix game games Gaming gnome google kernel linux linux commands linux kernel Linux laptops Linux Mint Linux themes minecraft NVIDIA Python Raspberry Pi sysadmin themes ubuntu ubuntu 18.04 Ubuntu 18.04 LTS Ubuntu 20.04 ubuntu 20.04 lts Ubuntu 22.04 LTS Ubuntu games Ubuntu kernel ubuntu themes ubuntu tutorial VirtualBox Windows Windows 11 Wine WSL
itsubuntu.com is an Equal Opportunity Employer. For Advertisement, Jobs, Guest posts, and any other thoughts, email us at info@itsubuntu.com

Copyright © 2026 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme