Gentoo Archives: gentoo-user

From: "Björn Fischer" <bf@×××××××××××××××××××××.de>
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 10:51:56
Message-Id: 81ef5784-263b-829c-db5f-6b24a2f78fc3@cebitec.uni-bielefeld.de
In Reply to: [gentoo-user] Any way to run multiple commands from single script in parallel? by "J. Roeleveld"
1 Hello Joost,
2
3 > Is there a tool/method to execute multiple lines/commands
4 > simultaneously? Like having 3 or 4 run together and when 1 is
5 > finished, it will grab the next one in the list?
6
7 probably, GNU Parallel is what you are looking for:
8
9 https://www.gnu.org/software/parallel/parallel.html#examples
10
11 The tool can handle most variants of batch processing scenarios without
12 the steep learning curve of fully fledged (clustered) job schedulers.
13
14 Cheers,
15
16 Björn

Replies

Subject Author
Re: [gentoo-user] Any way to run multiple commands from single script in parallel? "J. Roeleveld" <joost@××××××××.org>