463 B
463 B
conditions.
one after another.
foo; bar # bar will run after foo finishes.
AND.
foo && bar # bar will only run if foo succeeded.
foo && { bar1; bar2; } # both will run in foo succeeded.
OR.
foo || bar # bar will only run in foo failed.
foo || { bar1; bar2; } # both will run if foo failed.
one at the same time with another.
foo & bar # they will both run at the same time.