From 8c9662077888a06738767ec06c6b8eaaf7c03ea0 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Tue, 11 Oct 2011 12:07:13 -0400 Subject: redirected piping --- software/bash.page | 9 +++++++++ 1 file changed, 9 insertions(+) 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 + -- cgit v1.2.3