On 26-Sep-15 11:39 AM, Mihai Osian wrote:
> On 09/25/15 23:57, Dumitru Ciobarcianu wrote:
> 
> seq 100 | while read JOBNR; do echo "echo starting job $JOBNR; sleep 
> $((RANDOM % 5)); echo job $JOBNR done" ; done | xargs -n1 -P10 -I% bash -c %
>


Hmm, -P , atât de simplu!
You learn something every day, thanks!


Dumitru "if you're happy and you know it clap your hands!"


_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui