The GNU Parallel is a shell tool that is executed locally in parallel or using a remote computer. The job is usually to enter each row to run a command or a small script. Typical input includes a list of files, host lists, user lists, a list of URLs, or lists of tables. The execution job read from the pipe can also be a command, and the GNU parallel can split parallel inputs and pipelines into commands.
If you use Xargs and tee, you will find that the GNU parallel is very easy to use because the GNU parallel similar to xargs with the same option. When writing loops in the shell, the GNU parallel can replace most of the loops and allow multiple parallel jobs to run faster.
The GNU Parallel is able to perform the same output from the command, and gets the order in which the commands are run. This allows the GNU parallel to be the input and output of other programs.
GNU parallel for each line input, you can execute commands as parameter lines. If no command is given, the input line is also executed. Several lines will run in parallel. GNU parallel can usually be used as Xargs or cat | Use for bash substitutes.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.