npm’s concurrent script is great! Inspiredly today I just made yet another simple helper script that do similar things and keep everything simple (only bash shell).

Install

Just ln this shell script and expose it to your path e.g. /usr/local/bin

cd /usr/local/bin && ln -s $HOME/.dotfiles/misc/simple_parallel.sh simple_parallel && cd -

Example

Simple Parallel Run simple_parallel

That’s right, just type lines of command in your double quote input and it’ll run each of them in parallel. This script only uses the most common commands found in *nix os and you can kill all the process using ctrl+c