This shows you the differences between two versions of the page.
courses:programming:io_redirection [2018/02/15 09:32] pro100kot created |
courses:programming:io_redirection [2022/12/10 09:08] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | <code> | + | |
- | || StdOut || StdErr || existing | + | |
- | Syntax || Terminal | File || Terminal | File || file | + | |
- | ==========++==========+==========++==========+==========++=========== | + | |
- | > || no | yes || yes | no || overwrite | + | |
- | >> || no | yes || yes | no || append | + | |
- | || | || | || | + | |
- | 2> || yes | no || no | yes || overwrite | + | |
- | 2>> || yes | no || no | yes || append | + | |
- | || | || | || | + | |
- | &> || no | yes || no | yes || overwrite | + | |
- | &>> || no | yes || no | yes || append | + | |
- | || | || | || | + | |
- | | tee || yes | yes || yes | no || overwrite | + | |
- | | tee -a || yes | yes || yes | no || append | + | |
- | || | || | || | + | |
- | n.e. (*) || yes | no || yes | yes || overwrite | + | |
- | n.e. (*) || yes | no || yes | yes || append | + | |
- | || | || | || | + | |
- | |& tee || yes | yes || yes | yes || overwrite | + | |
- | |& tee -a || yes | yes || yes | yes || append | + | |
- | </code> | + |