summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bryan@octopart.com>2011-10-11 12:07:13 -0400
committerbnewbold <bryan@octopart.com>2011-10-11 12:07:13 -0400
commit8c9662077888a06738767ec06c6b8eaaf7c03ea0 (patch)
tree77942757d0bc4bc7d610716f741b1b8e05496a02
parentfab703047f4128699ca9bf05135258190624fb90 (diff)
downloadknowledge-8c9662077888a06738767ec06c6b8eaaf7c03ea0.tar.gz
knowledge-8c9662077888a06738767ec06c6b8eaaf7c03ea0.zip
redirected piping
-rw-r--r--software/bash.page9
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
+