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
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 :
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.
Summary: hi, I'm altering a script from Unix to Linux, and I came across the Unix stat command - not the function, but the command. I know I had to get an rpm to run this in RedHat 8 - however, the unix comman...
Summary: I am using Unix sed command like this sed 's/XX/new.dat/' x > y.out The replacement is working fine but while creating the y.out file its truncating the last line from x file Any idea why this is ha...
Summary: Dev: It depends on how 'source code' and 'execuatable' are defined. You can say my source code is all files with an extension of .c or .h and use the find command: find . -type f \( -name "*.c" -o -n...