Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
linux:pipe [2019/06/05 11:43] – [Pipe to a file] tmadelinux:pipe [2020/09/16 11:24] – [Execution Dependency] tmade
Line 32: Line 32:
   command1 && command2                     #Command2 is only executed if command1 completed without errors   command1 && command2                     #Command2 is only executed if command1 completed without errors
   command1 || command2                     #Command2 is only executed if command1 completed with an error   command1 || command2                     #Command2 is only executed if command1 completed with an error
 +  command1 && command2 || command3         #
      
 ==== Error-handling ==== ==== Error-handling ====
linux/pipe.txt · Last modified: 2022/02/16 04:34 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki