February 2004
Beginner
200 pages
5h 40m
English
To invoke several commands in sequence on a single command line, separate them with semicolons:
$command1;command2;command3
To run a sequence of commands as above, but stop execution if any of them fails, separate them with && (“and”) symbols:
$command1&&command2&&command3
To run a sequence of commands, stopping execution as soon as one succeeds, separate them with || (“or”) symbols:
$command1||command2||command3