Hello ,
Im trying to dump the content from a url in bash shell script but was unable to get.
im using the following code
URL="'some url=$var'"; > temp
system "-dump -nolist $URL > temp";
Plz let me know how can i dump the content of the url
warangalboy
0
Newbie Poster
Recommended Answers
Jump to PostI am having a little trouble following your code. could you explain what both lines of code are supposed to be doing?
isn't the 'system' command used in the C language? Are you trying to write the whole script using bash?
Jump to Postwhen you say contents, do you mean the page source code of the URL?
if so I will have to research that abit.
Jump to Postbefore even writing a scripts you need a program(command) to get the source code. for instance this will download the soucecode of a page
wget http://www.daniweb.com/techtalkforums/thread7215.html
this will only work because it is an html file it is getting.
this technique will not work with
…
All 9 Replies
shanenin
0
Posting Whiz in Training
warangalboy
0
Newbie Poster
shanenin
0
Posting Whiz in Training
warangalboy
0
Newbie Poster
shanenin
0
Posting Whiz in Training
warangalboy
0
Newbie Poster
shanenin
0
Posting Whiz in Training
warangalboy
0
Newbie Poster
shanenin
0
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.