What is the difference between pipe (|) and tee command in unix
Answer Posted / ruth suganya sebastian
pipe is used to execute two or more commands
eg:select ename||'works as '||job from emp;
tee is used to create an empty file,stores the output and
then displays the contents on the screen
eg: grep "^d" filename||tee file
| Is This Answer Correct ? | 49 Yes | 22 No |
Post New Answer View All Answers
Who wrote grep?
Are you in or at the office?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What command is used to switching between users in unix?
Is command prompt unix?
How do I use nslookup?
What does the command '$ls | wc –l > file1' do?
Which unix command to make a new directory?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
How do you repeat a command in terminal?
How to display no of records in oracle using unix command?
What is the size of time_t?
Name the general commands in using unix os for a beginner?
Describe the zip/unzip command using gzip.
What is the comma to show the space allocation of files?