Open main menu

CDOT Wiki β

Changes

Tutorial5: Redirection

8 bytes added, 15:58, 24 January 2020
Multiple Commands Using Semicolon ";" and Grouping Commands "( )"
Besides piping, there are other ways that multiple commands may be placed in one line: commands may be separated by semi-colons.<br>
Each command will be executed when the previous command has terminated
Example:
<span style="font-family:courier;font-weight:bold">sleep 5; ls</span>(NOTE: Each command will be executed when the previous command has terminated)
commands may be grouped by using parentheses
13,420
edits