wget print content to screen

wget is used to download files. When you use wget to run cronjob, it create lot of files. To avoid this, you can replace wget command with curl.

If you want to use wget, you can use -O option, that speicify file to save. You can use -O /dev/stdout, so downloaded file content will be written to stdout.

You can use -q to hide the download progres message (quite).

-O /dev/stdout can be replaced with

Or

Example

See wget

Add a Comment

Your email address will not be published. Required fields are marked *