minus-squareozr@programming.devtoLinux@programming.dev•Running Commands in Parallel in Linuxlinkfedilinkarrow-up2·edit-21 year agoGood post! It’s also good to mention wait can be used with & (useful for scripts) Example: command_1 & command_2 & command_3 & wait will make the shell wait until the last command finishes. linkfedilink
Good post! It’s also good to mention
wait
can be used with&
(useful for scripts)Example:
command_1 & command_2 & command_3 & wait
will make the shell wait until the last command finishes.