Changes

Jump to: navigation, search

Tutorial5: Redirection

88 bytes added, 16:09, 24 January 2020
Multiple Commands Using Semicolon, Grouping, and Backquotes
<span style="font-family:courier;font-weight:bold">(echo "Who is on:"; w) > whoson</span>
commands  Commands may also be split over multiple lines, making it easier (for humans) to interpret a long command.You can add a quote or "escape" the newline character at the end of a line, to get rid of the special meaning <br>of newline (to end a command line)for example''Example:'' <span style="font-family:courier;font-weight:bold">echo "This will be split over multiple \<br>lines. Note that the shell will realize \<br>that a pipe requires another command, so \<br>it will automatically go to the next line" |tr '[a-z]' '[A-Z]'</span>
=INVESTIGATION 1: BASICS OF REDIRECTION=
13,420
edits

Navigation menu