The wget command in Linux and Unix-like systems is used to download files from the internet via HTTP, HTTPS and FTP protocols.
Here are a few examples of how the wget command can be used:
wget http://example-url/file.zip
wget -O newname.zip http://example-url/file.zip
wget -c http://example-url/file.zip
wget -r http://example-url/
wget -r -A.zip http://example-url/
wget --proxy=http://proxy-example-server:port http://example-url/file.zip
wget command is widely used to automate the download of files, it can be scheduled to run in the background and download files at regular intervals.
It's also possible to use wget to download files from FTP server by specifying the ftp protocol and the credentials if required, for example:
wget ftp://username:password@ftpserver/path/to/file.zip