How do I run two parallel commands in Linux?
Answer
In case you need to execute several processes in batches, or in chunks, you can use the shell builtin command called “
wait
“. See below. The first three commands wget commands will be executed in parallel. “wait” will make the script wait till those 3 gets finished.
Answer
In case you need to execute several processes in batches, or in chunks, you can use the shell builtin command called “
wait
“. See below. The first three commands wget commands will be executed in parallel. “wait” will make the script wait till those 3 gets finished.