diff options
author | bnewbold <bryan@octopart.com> | 2011-10-11 12:07:13 -0400 |
---|---|---|
committer | bnewbold <bryan@octopart.com> | 2011-10-11 12:07:13 -0400 |
commit | 8c9662077888a06738767ec06c6b8eaaf7c03ea0 (patch) | |
tree | 77942757d0bc4bc7d610716f741b1b8e05496a02 /software | |
parent | fab703047f4128699ca9bf05135258190624fb90 (diff) | |
download | knowledge-8c9662077888a06738767ec06c6b8eaaf7c03ea0.tar.gz knowledge-8c9662077888a06738767ec06c6b8eaaf7c03ea0.zip |
redirected piping
Diffstat (limited to 'software')
-rw-r--r-- | software/bash.page | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/software/bash.page b/software/bash.page index 954d89f..2fa38be 100644 --- a/software/bash.page +++ b/software/bash.page @@ -9,3 +9,12 @@ BASH Job Control The syntax for "job number" or "JOBSPEC" (when using ``kill`` or similar) is ``%4`` or ``%5``. + + +Piping +--------- +You can pipe both ``stdout`` and ``stderr`` together either to a file or two another command:: + + grep --asdf >& /some/file + grep --asdf |& less + |