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

Answer Posted / nagarjuna reddy

PIPE(|)
command is used send the output of one command as a input for another command
tee
command is used to write the same data to the multiple files

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the md command do?

560


What is grep short for?

547


What does 'mkdir' command do in UNIX?

649


How do you repeat a command in terminal?

585


What is “chmod” command?

558






What does #!/ Bin sh do?

579


How to display no of records in oracle using unix command?

583


What is rmdir command?

541


How can we use grep command in unix?

606


Write a command to display a file’s contents in various formats?

614


What is the use of sed command in unix?

586


hw will u use awk in replacing cahrs and files

2719


Which command is used to find whether the system is 32 bit or 64 bit?

623


Explain how to use grep command to list find the records of a file containing 10 different strings?

585


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

786