First page
Back
Continue
Last page
Overview
Conditional Execution
Commands may be executed conditionally, based on the exit status of the previous command
&&
logical AND
||
logical OR
Examples:
$ grep joe passwd || echo 'No joe!'
$ cp -a /tmp/*.o . && echo 'Done!'