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.


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 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


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


Was this answer helpful? 0 Users Found This Useful (1 Votes)