So I have a .sh script that needs to wget a lot of files. I have a text file set up like this
http://www.website.com/w4w4wbvert9rtr/video.mp4 http://www.website.com/wserteg444gs4r/video.mp4 http://www.website.com/9we75y49wc45gr/video.mp4 http://www.website.com/sfwetb456/video.mp4
So I am wondering if there is a way that I can extract the text line by line and insert in into wget so I would just have to run wget and then a variable.
I used G Trawo's answer but made a small adjustment. I set it up to download all of the files at the same time by using
gnome-terminal -e "wget $line" instead of just wget $line