Making `wget` not save the page

You can redirect the output of wget to /dev/null (or NUL on Windows):

wget http://www.example.com -O /dev/null

The file won’t be written to disk, but it will be downloaded.

Leave a Comment