Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-04-2006, 05:58 AM   #1
Registered: Jun 2005
Distribution: Centos
Posts: 215

Rep: Reputation: 30
Running wget multiple downloads simultaneously

I want to have a script that when executed downloads x amount of files via wget simultaneously.

wget file1
wget file2

When putting that in a bash script it downloads the files in turn, I want it so it all gets DL'ed together.

I'm not a script but I assume there would be an ez way to do this?

Old 09-04-2006, 07:46 AM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 166Reputation: 166
Putting an ampersand (&) at the end of a command forces it to run in the background. The following should work:
wget file1 &
wget file2 &


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to write multiple threads working simultaneously ? indian Programming 3 09-19-2011 11:41 PM
LXer: Execute commands simultaneously on multiple servers LXer Syndicated Linux News 0 02-20-2006 11:31 AM
multiple programs play sound(audio) simultaneously mikepol Debian 7 02-12-2006 01:32 PM
wget re-downloads all files grater than 10M gintaras46 Linux - General 3 12-24-2005 08:05 AM
running wget multiple times quickk Linux - Newbie 1 09-16-2004 06:53 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:47 AM.

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