I have some expensive (slow) operations that could run in parallel
SERVERS=$(cmd1)
ROUTERS=$(cmd2)
NETWORKS=$(cmd3)
KEYPAIRS=$(cmd3)
I do want to speedup this by running these in parallel, but without using ugly hacks like redirecting their output to files and loading the files after their execution.
Is there a nice way to parallelize this in bash?