mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-31 00:45:17 +08:00
small typo in the tutorial. stderr is redirected using 2> rather than >2
This commit is contained in:
parent
1c3fe7dc66
commit
8e41e3337c
@ -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 < and >. stderr is redirected with a >2.
|
||||
stdin and stdout can be redirected via the familiar < and >. stderr is redirected with a 2>.
|
||||
|
||||
\fish{cli-dark}
|
||||
>_ grep fish < /etc/shells > ~/output.txt 2> ~/errors.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user