Search code examples
linuxparallel-processinggnu-parallel

is it useful to use 'wait' after using linux GNU parallel?


I have a question about GNU parallel.

I am using the software to parallelize a set of commands, but I am willing to wait all commands finish before quitting the main bash shell.

Is it useful to add:

1 paralle something
2 wait 

after the parallel command?

Thanks!


Solution

  • No. GNU Parallel does the wait for you.