A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

September 25, 2015

Wget script

Looking for help making a script that let's me specify the amount of multiple wget instances each time I run it.

echo -n "How many instances? "; read times


for i in {1..$times}
wget $fileToGet -o netinsta-${i}-{$$}.log --output-document=/dev/null --background

Click Here!