summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
+