Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Any way to run multiple commands from single script in parallel?
Date: Mon, 14 Mar 2022 10:13:31
Message-Id: 11944667.O9o76ZdvQC@iris
1 Hi,
2
3 I often put multiple commands into a single file/script to be run in sequence.
4 (each line can be executed individually, there is no dependency)
5
6 Is there a tool/method to execute multiple lines/commands simultaneously? Like
7 having 3 or 4 run together and when 1 is finished, it will grab the next one in
8 the list?
9
10 I would prefer this over simply splitting the file as the different lines/
11 commands will not take the same amount of time.
12
13 Thanks,
14
15 Joost

Replies

Subject Author
Re: [gentoo-user] Any way to run multiple commands from single script in parallel? Ramon Fischer <Ramon_Fischer@×××××××.de>
Re: [gentoo-user] Any way to run multiple commands from single script in parallel? "Björn Fischer" <bf@×××××××××××××××××××××.de>
Re: [gentoo-user] Any way to run multiple commands from single script in parallel? Andreas Fink <finkandreas@×××.de>