Run commands serially, no matter if they fail or not:
$ command1; command2;
Run commands serially, conditional on correct execution:
$ command1 && command2
Run multiple commands in background:
$ command1 & command2 &
http://www.skorks.com/2010/05/executing-multiple-commands-a-bash-productivity-tip/
No comments:
Post a Comment