[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parallel with text file of command lines
From: |
Hans Schou |
Subject: |
Re: parallel with text file of command lines |
Date: |
Wed, 17 Nov 2010 13:36:53 +0100 |
2010/11/16 Alle Meije Wink <a.m.wink@gmail.com>:
> Another of my attempts is a 'commands' file made of calls to ls and
> writing them to separate files:
> printf "/bin/ls > ./ls1.txt\n/bin/ls > ./ls2.txt\n/bin/ls >
> ./ls3.txt\n" > lstest.txt
> . lstest.txt
> rm ls?.txt
> cat lstest.txt | parallel
Your lstest.txt looks right.
Try to make a file with only a few commands, and then run:
cat lstest.txt | parallel -v
What do you see?
/hans