User Tools

Site Tools


courses:programming:io_redirection

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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>​+
courses/programming/io_redirection.txt · Last modified: 2022/12/10 09:08 (external edit)