How to Limit File Download Speed Using Wget in Linux

Wget is a widely used, non-interactive command line utility for retrieving files from the web. Just like most similar tools out there, it supports limiting of download speed, which allows you to set the maximum download limit so as not to flood your (perhaps slow) internet connection and let other applications access more bandwidth, especially if you are running multiple network applications on your machine.

Read Also: WonderShaper – A Tool to Limit Network Bandwidth in Linux

In this short article, we will show you how to limit internet download speed for particular file using wget command in Linux.

How to Limit File Download Speed Using Wget

When using wget, you can limit the file retrieval rate with the --limit-rate switch. The value can be expressed in bytes, kilobytes with the k suffix, or megabytes with the m suffix.

The following examples show how to limit the file download speed to 50KB/s with wget command.

$ wget --limit-rate=50k https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-7.9p1.tar.gz
Wget - Limit File Download Speed
Wget – Limit File Download Speed

To turn off its output, use the -q flag.

$ wget -q --limit-rate=50k https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-7.9p1.tar.gz

For more information on how limiting of file download speed is implemented, see the wget man page and read about the --limit-rate option.

$ man wget 

You might also like to check out these following articles about wget utility.

  1. 5 Linux Command Line Based Tools for Downloading Files
  2. How to Download Files to Specific Directory Using Wget
  3. How to Rename File While Downloading with Wget in Linux
  4. How to Download and Extract Tar Files with One Command

That’s all! In this short article, we have explained how to limit the file download speed using wget command line downloader in Linux. If you have any questions or thoughts to share, use the feedback form below.

If this article helped, with someone on your team.

TecMint Weekly Newsletter
Get the Learn Linux 7 Days Crash Course free when you join 34,000+ Linux professionals reading every Thursday.
Check your email for a magic link to get started.
Something went wrong. Please try again.
TecMint has been free for 14 years. Help keep it that way.
Google AI Overviews and tools like ChatGPT have cut into search traffic for independent tech sites like TecMint. Running this site costs over $2,000 every month for hosting, infrastructure, and paying authors to keep the content accurate and tested.

If this article helped you solve a problem, consider buying a coffee. It helps keep TecMint free, supports the authors, and keeps the project going.
☕ Buy Me a Coffee
Aaron Kili
Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.

Free Course
Get a free Linux course before you go.
Subscribe to TecMint Weekly and get the Learn Linux 7 Days Crash Course free. Read by 34,000+ Linux professionals every Thursday.
Something went wrong. Please try again.
Check your email for a magic link to get started.