nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Help needed regarding bash scripting ---full description

This is a discussion on Help needed regarding bash scripting ---full description within the Shell scripting forums, part of the Development/Scripting category; I would clear my question in this.I have to test the speed of a webpage download in linux.For that i ...


Go Back   nixCraft Linux Forum > Development/Scripting > Shell scripting

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 09-06-2006, 08:07 AM
Junior Member
 
Join Date: Sep 2006
Posts: 3
Rep Power: 0
chris411
Default Help needed regarding bash scripting ---full description

I would clear my question in this.I have to test the speed of a webpage download in linux.For that i am using time wget command in gentoo linux.In that by using that command i can test the speed only for a particular file.As i have followed the process mentioned in the previous mail.I am using WinScp3 as a tool to copy the files to my apache server.I have to write script for all the files at once so that i can download all the files at a time using the wget and call the script.
Please help me how to solve this.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-07-2006, 04:21 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 910
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Here is something that will help you to get started:

Code:
list="http://site.com/1.html http://site.com/2.html"
for i in $list; do wget $i; done
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Suse Enterprise Linux server Set Network card (NIC) to Full duplex setting raj Networking, Firewalls and Security 1 03-20-2008 03:33 PM
postfix + google = headache. your help needed TECK Linux software 2 02-26-2008 04:45 PM
Guidance needed jithendra Linux software 2 11-07-2006 09:26 AM
Help needed regarding bash scripting of a webpage chris411 Shell scripting 2 09-07-2006 10:40 AM
using sed to delete everything except needed patterns guest Shell scripting 8 09-12-2005 02:57 AM


All times are GMT +5.5. The time now is 12:32 PM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36