Code: Select all
x | y
Code: Select all
x | y
tee will take data from stdin (what come out from the previous command, send to itself through "|"), and write it to a file AND send it out to stdout again, allowing you both to log it and to manipulate it on the fly.QUARG wrote:O.O it works!!!
God i need to learn treminal language. I understand the structure of the command now that you clarified it. Im quite sure what the | tee is.
Ill have to put terminal 101 off till i get my other projects done.:)
Thankyou for your help guys.
Your understanding is good. And the conversation in your comparison can't begin until both people are connected.QUARG wrote:Ty for the explination Lucifer. I tried what you suggested with the cat command, didnt do anything. I probably got it wrong.
If i understand this right pipe is like an operator in the telephone system. Sombody makes the request to speak with an other person. pipe makes the connection.
Code: Select all
modemcable004:~ marclizotte$ cat someyougguy
Code: Select all
modemcable004:~ marclizotte$ cat > someyoungguy
Windows has pipes. It has the command line pipes inherited from DOS:Lucifer wrote:Pipes are the reason, in my opinion, that Windows will always be inferior to UNIX and its clones. Windows doesn't have pipes.
Code: Select all
C:> DIR | SORT | MORE