What is the difference between pipe (|) and tee command in unix
Answer Posted / thina
ls |wc-l |tee 1.txt
step 1: listing of file and folders
step 2: counting No of Lines
step 3: tee command getting output from above steps and
stres in the file
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between grep and grep?
How do I find previous commands in unix?
Which command is used to restrict incoming messages?
What are the commands in UNIX to list the files in a Directory?
What does 'mkdir' command do in UNIX?
What is the use of tee command?
What is the behavioural difference between cmp and diff commands?
Describe the usage and functionality of the command rm –r * in unix?
What is the comma to display different lines that are found when compare two files?
What is the first character of the output in ls l command?
Write a command to display a file’s contents in various formats?
What is the size of time_t?
What is updatedb?
What is the use of finger command?
How does pipe () work?