Turning Wget’s output off

Last Updated: Sun, July 24, 2022

By default, Wget outputs full information to the terminal when you download a file. You can use the -q (or --quiet ) option to turn off all output.

Download the favicon of vpsname.com without showing any output.

wget -q https://vpsname.com/favicon.ico

Without showing any output

Before saving a file, Wget checks whether the file exists in the desired directory. If it does, Wget adds a number to the end of the file. If you run the command above one more time, Wget would create a file named favicon.ico.1. This number increases every time you download a file to a directory that already has a file with the same name.

If you interest in my articles, please consider buying me a coffee.

Write Your Comment