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:  6+ Open Source Audio Editor In 2019
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

install tilux Install Tilix On Linux Distros : Linux Terminal Emulator Linux
How To Mount A Removable Drive In WSL [Windows System Linux] How To Mount A Removable Drive In WSL [Windows System Linux] Linux
Best Linux Operating Systems For Beginners In 2019 Best Linux Operating Systems For Beginners In 2019 Linux
Top Linux Virtualization Software Quick List Of Top Linux Virtualization Software Linux
Best Command Line Music Players For Linux Best Command Line Music Players For Linux Linux
List Of Best Raspberry Pi Books For Beginners In 2021 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]
  • Technical Writer (Maritime Systems)

    • Laurel, MD
    • Johns Hopkins Applied Physics Laboratory (APL)
    • Full Time
  • Mazda Service Writer

    • Farmington, MI
    • Lithia Motors
    • Full Time
  • Lead Data Scientist

    • Remote (Remote)
    • Doordash Australia
    • Full Time
  • Freelance Writer – Flexible

    • Lexington, KY
    • Freelance
  • Lead Data Engineer (Java, Python, Spark, AWS)

    • Fredericksburg, VA
    • Capital One
    • Full Time
  • Service Writer – Spokane Valley, WA

    • Spokane Valley, WA
    • Bruckner Truck
    • Full Time
  • Technical Writer

    • Charlotte, NC
    • Experis
    • Temporary
  • Service Writer

    • Casper, WY
    • Floyd's Truck Center Inc.
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme