Changes

Jump to: navigation, search

Tutorial5: Redirection

89 bytes added, 15:04, 24 January 2020
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)
13,420
edits

Navigation menu