small typo in the tutorial. stderr is redirected using 2> rather than >2

This commit is contained in:
Jonathan Revah 2019-02-18 15:50:05 -05:00 committed by Fabian Homborg
parent 1c3fe7dc66
commit 8e41e3337c

View File

@ -172,7 +172,7 @@ You can pipe between commands with the usual vertical bar:
<outp> 1 2 12</outp>
\endfish
stdin and stdout can be redirected via the familiar &lt; and &gt;. stderr is redirected with a &gt;2.
stdin and stdout can be redirected via the familiar &lt; and &gt;. stderr is redirected with a 2&gt;.
\fish{cli-dark}
>_ grep fish < /etc/shells > ~/output.txt 2> ~/errors.txt