To run two commands at the sametime use the semi-colon ";"
command1 ; command2 |
To run a command only after the first command has failed use the double pipe "||"
command1 || command2 |
To run a command only if the first is successful use the double ampersand "&&"
command1 && command2 |