We usually use wget command in Linux, its main purpose is to download resources on the Internet.
For example, if you want to download a picture today, you only need to copy the address of the picture.

And open your terminal:
wget "FILE_URL"
And then you are download this picture. After downloading, you can open the picture to have a look.

Is it convenient? We can also use this method to download file in remote server.
In order to facilitate future viewing, I will record the commands commonly used in wget below.
If you are interested in the wget command in Linux, you can refer to the official website: https://www.gnu.org/software/wget/
wget
| parameter name | Parameter target | Description |
| -V | Show wget version | |
| -h | Show wget help message | |
| -b | ||
| -e | command | Execute the’.wgetrc’ command |
| -o | file name | Output log message |
| -a | file name | Add log message |
| -d | Print out Debug message | |
| -q | Do not display output messages | |
| -v | (Default) | |
| -nv | Cancel details | |
| -i | file name | Download the URL from the file (batch) |
| -F | Treat download files as HTML | |
| -t | –tries = number | download times |
| –retry-connrefused | Rejected still download | |
| -O | file name | Name and save the downloaded file |
| -nc | Do not overwrite existing files | |
| -c | –contiue | Continue to get the unfinished part |
| -N | Download only files that are newer than local files | |
| -S | Print out server return message | |
| -T | Set timeout | |
| -w | –wait = second | Number of seconds to wait for retrieval time |
| -nd | Do not create a directory | |
| -x | Strong to create a directory | |
| -nH | Do not create a host directory | |
| –http-user=User | Set HTTP username | |
| –http-passwd=Pass | Set HTTP user password |
Record
This is the part that I think will be used frequently at present, not all commands. If there is a command you need, you can use “wget -h” to see if there is such a function.
If there are more frequently used functions in the future, I think I will update this article again.