What is the difference between pipe (|) and tee command in unix

Answer Posted / ravikumar reddy .dubba

pipe(|):--pipe is the symbol which is used to combine 2
filters,2 commands or filter and command,

When we combine two operations by using pipe, first
operation o/p acts standard i/p for second operation ,and
second operation gives Standard o/p,

Tee:--tee is the command, we can copy a file data to
multiple files at a time



dubba.ravikumarreddy@gmail.com

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is s and g in sed command?

568


What does grep v grep do?

558


What is the command to find hidden files in the current directory?

599


What is the use of the command 'ls -x chapter[1-5]' ?

667


What does the command ' $who | sort –logfile > newfile' do?

776






What are some command words?

573


Name the various commands that are used for the user information in unix.

553


Differentiate cat command from more command.

588


Who command in unix?

585


Write a command that will display files in the current directory, in a colored, long format.

695


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

654


What does the md command do?

580


Explain the steps that a shell follows while processing a command.

693


What is the size of time_t?

671


Is command prompt unix?

592