LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-31-2006, 07:45 PM   #1
rumperpumper
LQ Newbie
 
Registered: Nov 2005
Location: Brisbane, Australia
Posts: 5

Rep: Reputation: 0
Question Loop Bash command to hit...


a specific URL?

There has been this web site i have found that is basicaly raising money for some one in need and by them doing this they have sponsors that will provide them with money depending on how many hits they get.

Is there any way to write a bash command that will continuously hit the url until the comand is stopped or for a specific amout of loops.

Im the newest of the new with unix, so i appreciate any help i can get.

Cheers,

Lucas
 
Old 01-31-2006, 07:52 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
Most sites also implement IP checking so that when someone does what you're proposing they can spot the fraud attempt. However, look at `man wget` and `man curl`. If you tried `man bash` and searched in it for 'for name' you should get some info on looping.

Doing this is not a good idea
 
Old 01-31-2006, 07:54 PM   #3
rumperpumper
LQ Newbie
 
Registered: Nov 2005
Location: Brisbane, Australia
Posts: 5

Original Poster
Rep: Reputation: 0
Never mind i figured it out
 
Old 01-31-2006, 08:12 PM   #4
rumperpumper
LQ Newbie
 
Registered: Nov 2005
Location: Brisbane, Australia
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gilead
Most sites also implement IP checking so that when someone does what you're proposing they can spot the fraud attempt. However, look at `man wget` and `man curl`. If you tried `man bash` and searched in it for 'for name' you should get some info on looping.

Doing this is not a good idea
Yeah your right i think there is some kind of IP checking as the command has run in succession 25 times but has only had about 3 hits since i started the bash.

May i enquire as to why u think this is nto a good idea?


Thanks again!

Last edited by rumperpumper; 01-31-2006 at 08:16 PM.
 
Old 01-31-2006, 08:39 PM   #5
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
A quick disclaimer - I hate advertising and I have no sympathy for those in advertising.

That said - it's a legitimate business model to pay based on visits to a site.

I think scripting the hits on the link is a bad idea because no matter how good the cause, tricking someone into believing their advertising is successful and gaining money because of that seems like fraud to me.

I won't bore you with any more of my opinion on the subject if you won't ask me to contribute to the cause
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script loop bong.mau Programming 6 09-14-2005 07:38 PM
bash script for loop drisay Programming 5 12-25-2004 12:32 AM
Bash for loop Genjix Programming 5 12-23-2004 02:56 AM
bash script - for loop question rignes Programming 3 10-05-2004 11:16 PM
bash for loop problem deadlock Programming 5 09-04-2003 04:32 AM


All times are GMT -5. The time now is 12:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration