LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   pipeling help (https://www.linuxquestions.org/questions/linux-newbie-8/pipeling-help-408857/)

alaios 01-28-2006 03:35 AM

pipeling help
 
Hi i know how re redirect the ouput of the command... can u plz reming me what 2> and 1> mean?
Are there any other types of pipes?

pixellany 01-28-2006 08:24 AM

First, redirection and pipes are two different things. Redirection relates to stdout, stdin, and stderr.
Pipes are for sending output of command A to the input of command B.

File descriptors are:
0 stdin
1 stdout
2 stderr

So "1>xxx" means send output to xxx instead of stdout

Time to read a tutorial: Here is one: http://www.tldp.org/HOWTO/Bash-Prog-...OWTO.html#toc3

Also---at the same site---look at the Bash Guide for Beginners by Machtelt Garrels


All times are GMT -5. The time now is 05:57 AM.