Computing.Net > Forums > Unix > Unix webpage command

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Unix webpage command

Reply to Message Icon

Name: lucasDoe
Date: May 27, 2005 at 00:02:25 Pacific
OS: sss
CPU/Ram: 22
Comment:

Hey guys,

Could someone help me out with this real quick. I'm trying
to use some unix command to go to a web page,then output the
contents of the webpage into a text file and perform some text
processing with the file. I could handle all the file processing
stuff once the contents have been put in a text file. However, my
main problem is getting the unix command that goes to any webpage
and output its contents into a text file. I tried using :

lynx "url" >> "outputFile.txt"

Any help fortcomming will be well appreciate.

thanks a lot.

lucAs

ever appreciative,

Lucas Doe



Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: May 27, 2005 at 04:08:27 Pacific
Reply:

man lynx

-dump dumps the formatted output of the default document or one specified on the command line to standard output. This can be used in the following way:

lynx -dump http://www.trill-home.com/lynx.html

Also, you might consider wget if you want to maintain all the html code.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Unix webpage command

Unix stat command www.computing.net/answers/unix/unix-stat-command/5869.html

Unix sed command problem www.computing.net/answers/unix/unix-sed-command-problem/5822.html

unix command help www.computing.net/answers/unix/unix-command-help/6321.html