Using unix to grab html source

walla

Senior member
Jun 2, 2001
987
0
0
Hello. I'm relatively new to linux/unix environment.

What i would like to know is if there is a command that would let you take the html source of a webpage and save it to a file. Or an image or a script include or a document for that matter? I'm not talkin ftp but http.

For instance... "getWebContent http://www.google.com/index.htm > theHTMLSource.htm"

i know i can open up a web browser and save it manually, but I am looking for a different solution.

Please let me know if there is a command to let me do this or a program I could download to let me do this from the command line.

Thanks!