ZSH

Pipe Redirections

> (») send standard output to file (in append mode)
>& (»&) send both standard output and error to file (in append mode)
| send standard output
|& send both standard output and error (shorthand for 2>&1 |)
2>&1 redirect standard error to standard output
| tee output.log send the standard output to both the file and the screen
2>&1 | tee output.logsend both standard output and standard error to both the file and the screen
software/zsh.txt · Last modified: 2013/09/19 16:40 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki