Find the answer to your Linux question:
Results 1 to 3 of 3
I've searched awhile, but i can't seem to find any solution to this.. I'd like to create a bash script that uses lynx (if someone has a better choice, let ...
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    1

    touch ascending url IDs...

    I've searched awhile, but i can't seem to find any solution to this..

    I'd like to create a bash script that uses lynx (if someone has a better choice, let me know) to touch sites.

    Example;

    an url of a site is www.example.com/page?id=1
    and goes on to: www.example.com/page?id=10

    I'd like to create a script which touches all the id's from 1 to 10..
    Basically opens the URL, closes it down again, then starts on the second..

    I think lynx might be the best choice for this, but im not experienced with bash scripting, so i'm hoping for some help..

    Thanks in advance

    Martin

  2. #2
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    What's the purpose of loading a url and then closing it? If you explain what you're doing there might be a better solution.

  3. #3
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Are you trying to copy all of the pages recursively? Most sites have policies against this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...