its && so: command1 && command2 But, shell scripts doesn't bite, and sometimes && may not work for You - i.e. in cases, where finishing command1 is required for command2 to function properly. Of course, You may do some command1 && wait 2 && command2, but it's starting to look like too much hassle/ugly code.