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