Wget

From Leo's Notes
This page was last edited on 15 April 2013, at 05:46.

wget to console

Use the -O - option to output contents to the console.

wget -O - http://google.ca

Since the contents go to stdout, you can pipe it to a shell:

wget -O - http://scripthost.local/fix_graphics.sh | sh