Getting the output from url


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Getting the output from url
# 1  
Old 04-17-2014
Getting the output from url

Hi,

I need to store the output of a url by passing parameters using shell script. For eg. Url: google.com and i am passing a parameter unix tutorial, then i need to store the output of that page somewhere. Could someone please help me to resolve this?

Regards,
Arasu.
# 2  
Old 04-17-2014
Code:
wget google.com -O filename

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Test the URL

Hi, As part of the requirement I need to test the one URL and whenever any click will happened on the URL it will display the message "Yes Site Looks Good " and need to capture the message and send status to email and if "Yes" will not available then need to send email with "No Site is not... (1 Reply)
Discussion started by: siva83
1 Replies

2. Shell Programming and Scripting

Reading URL using Mechanize and dump all the contents of the URL to a file

Hello, Am very new to perl , please help me here !! I need help in reading a URL from command line using PERL:: Mechanize and needs all the contents from the URL to get into a file. below is the script which i have written so far , #!/usr/bin/perl use LWP::UserAgent; use... (2 Replies)
Discussion started by: scott_cog
2 Replies

3. UNIX for Dummies Questions & Answers

Awk: print all URL addresses between iframe tags without repeating an already printed URL

Here is what I have so far: find . -name "*php*" -or -name "*htm*" | xargs grep -i iframe | awk -F'"' '/<iframe*/{gsub(/.\*iframe>/,"\"");print $2}' Here is an example content of a PHP or HTM(HTML) file: <iframe src="http://ADDRESS_1/?click=5BBB08\" width=1 height=1... (18 Replies)
Discussion started by: striker4o
18 Replies

4. Shell Programming and Scripting

Help with url filtering

Hi, Here's my input file: http://google.com/1.exe http://google.com/2.exe http://google.com/3.exe http://rediff.jp/sample.zip http://yahoo.com/1.exe And here's what my output file should ideally look like: http://google.com http://rediff.jp/sample.zip http://yahoo.com/1.exe (9 Replies)
Discussion started by: r4v3n
9 Replies

5. Shell Programming and Scripting

catch the output of the URL

Hi all, anybody can help me in this? how to catch the output of the URL in scripting. exmple: if i give the URL: https://www.unix.com/shell-programming-scripting/155750-use-sed.html#post302503291 then output should be in onefile newfile.txt thanks in advance.. (6 Replies)
Discussion started by: rajesh_pola
6 Replies

6. Web Development

Regex to rewrite URL to another URL based on HTTP_HOST?

I am trying to find a way to test some code, but I need to rewrite a specific URL only from a specific HTTP_HOST The call goes out to http://SUB.DOMAIN.COM/showAssignment/7bde10b45efdd7a97629ef2fe01f7303/jsmodule/Nevow.Athena The ID in the middle is always random due to the cookie. I... (5 Replies)
Discussion started by: EXT3FSCK
5 Replies

7. UNIX for Dummies Questions & Answers

ReDirecting a URL to another URL - Linux

Hello, I need to redirect an existing URL, how can i do that? There's a current web address to a GUI that I have to redirect to another webaddress. Does anyone know how to do this? This is on Unix boxes Linux. example: https://m45.testing.address.net/host.php make it so the... (3 Replies)
Discussion started by: SkySmart
3 Replies

8. Shell Programming and Scripting

url calling and parameter passing to url in script

Hi all, I need to write a unix script in which need to call a url. Then need to pass parameters to that url. please help. Regards, gander_ss (1 Reply)
Discussion started by: gander_ss
1 Replies

9. UNIX for Advanced & Expert Users

url calling and parameter passing to url in script

Hi all, I need to write a unix script in which need to call a url. Then need to pass parameters to that url. please help. Regards, gander_ss (1 Reply)
Discussion started by: gander_ss
1 Replies

10. UNIX for Dummies Questions & Answers

Calling a URL

I'm trying to update a Unix script to open a url. I'm told by our Unix expert that this will have to be done in a Perl script and called by our current Unix script. Is there a way to open a specific url from a Unix script? (6 Replies)
Discussion started by: jmcdaniel
6 Replies
Login or Register to Ask a Question