Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Any way to run multiple commands from single script in parallel?
Date: Mon, 14 Mar 2022 20:33:43
Message-Id: 11945905.O9o76ZdvQC@iris
In Reply to: Re: [gentoo-user] Any way to run multiple commands from single script in parallel? by "Björn Fischer"
1 On Monday, March 14, 2022 11:51:44 AM CET Björn Fischer wrote:
2 > Hello Joost,
3 >
4 > > Is there a tool/method to execute multiple lines/commands
5 > > simultaneously? Like having 3 or 4 run together and when 1 is
6 > > finished, it will grab the next one in the list?
7 >
8 > probably, GNU Parallel is what you are looking for:
9 >
10 > https://www.gnu.org/software/parallel/parallel.html#examples
11 >
12 > The tool can handle most variants of batch processing scenarios without
13 > the steep learning curve of fully fledged (clustered) job schedulers.
14
15 Thanks, this seems to do what I need it to do.