13,420
edits
Changes
→Multiple Commands Using Semicolon, Grouping, and Backquotes
<span style="font-family:courier;font-weight:bold">sleep 5; ls</span> (''Note: each command will be executed when the previous command has terminated'')
Multiple commands may can also be grouped by using parentheses. ''Example:'' <span style="font-family:courier;font-weight:bold">(echo "Who is on:"; w) > whoson</span>
commands may also be split over multiple lines, making it easier (for humans) to interpret a long command
quote or "escape" the newline character at the end of a line, to get rid of the special meaning of newline (to end a command line)