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:  9 Best Download Managers For Linux In 2023
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

How To Install Java On RHEL 8: RedHat Tutorial How To Install Java On RHEL 8: RedHat Tutorial Linux
How To Fix “Failed to mount ‘/dev/sdax’: Input/output error, NTFS is either inconsistent, or there is a hardware fault, or it’s a SoftRAID/FakeRAID hardware” Fix “Failed to mount ‘/dev/sdax’: Input/output error, NTFS is either inconsistent, or there is a hardware fault, or it’s a SoftRAID/FakeRAID hardware” Fix
Linux 5.12 Kernel Reaches End of Life Linux 5.12 Kernel Reaches End of Life Linux
Useful & Best Free Linux Logfile Viewers Useful & Best Free Linux Logfile Viewers Linux
How To Install Ubuntu On Raspberry Pi How To Install Ubuntu On Raspberry Pi [2021 Edition] Linux
Install Plex Media Server On Ubuntu 20.04 Install Plex Media Server On Ubuntu 20.04 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
  • Writer/Journalist Internship

    • Ellensburg, WA
    • The Borgen Project
    • Internship
  • Remote Federal Appellate Brief Writer, Performance-Based Pay

    • East Brunswick, NJ
    • National Organization of Social Security Claimants' Represen...
    • Full Time
  • Principal Data Scientist: Associate AI experience

    • Sunnyvale, CA
    • Walmart
    • Full Time
  • Solutions Architecture Senior Advisor

    • Dallas, TX
    • NTT DATA
    • Full Time
  • Azure Architect

    • Remote
    • Openkyber
    • Full Time
  • Azure Architect

    • North Carolina
    • Openkyber
    • Full Time
  • Azure Infrastructure

    • Avon Lake, OH
    • Staffingine LLC
    • Temporary
  • Azure Engineer

    • Iselin, NJ
    • HAN Staffing
    • Full Time

Copyright © 2026 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme