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

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:  How To Install GameHub In Linux | Game Central App
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

Deepin 20 Deepin 20 Now Available For The Download Linux
Windows Subsystem for Linux 2 (WSL): Microsoft #Build2019 Windows Subsystem for Linux 2 (WSL): Microsoft #Build2019 Linux
System76 Galago Pro Linux Laptop: Price & Specification System76 Galago Pro Linux Laptop: Price & Specification Laptops
How To Clear Pip Cache On Linux How To Clear Pip Cache On Linux Linux
List Of Useful Linux Disk Scanning Tools In 2020 Linux
Install Plex Media Server On Ubuntu 20.04 Install Plex Media Server On Ubuntu 20.04 Linux

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
  • Search Jobs
  • Post a Job
  • Job Dashboard
  • Contact Us
  • About US
  • Cookie Policy
  • Terms and Conditions
  • Privacy Policy
  • Sitemap
  • Write For US

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 [email protected]
  • Artificial Intelligence / Machine Learning Engineer with Poly (AI/ML2)

    • Annapolis Junction, MD
    • Lockheed Martin
    • Full Time
  • YouTube Video Creator & Product Review Writer (LA 3 days in office) (El Segundo)

    • El Segundo, CA
    • eNNOVATION Brands
    • Part Time
  • Senior Reporter/ Writer

    • Norco, CA
    • JSL TECHNOLOGIES INCORPORATED
    • Full Time
  • Automotive Service Writer

    • Carson, CA
    • Midas
    • Full Time
  • Software Engineer with Poly Mid to SR (SWE2) DevOps

    • Annapolis Junction, MD
    • Lockheed Martin
    • Full Time
  • Data Engineer

    • Cleveland, OH (Remote)
    • Qode
    • Full Time
  • Service Writer

    • Livermore, CA
    • Livermore Ford
    • Full Time
  • Senior Process Engineer

    • Green Bay, WI
    • Suominen Green Bay Nonwovens
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme