How to make wget save the web page contents to a file?
Use the -O
option:
wget "http://www.finance.yahoo.com/q/op?s=GOOG" -O goog.txt
curl "http://www.google.com/" >> /Users/name/desktop/temp.txt
Use the -O
option:
wget "http://www.finance.yahoo.com/q/op?s=GOOG" -O goog.txt
curl "http://www.google.com/" >> /Users/name/desktop/temp.txt