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 are the unix commands?
What is the size of time_t?
What is the first character of the output in ls l command?
Explain command to display different lines that are found when compare two files?
Does cp command overwrite files?
What do chmod command do?
What is the command to find maximum memory taking process on the server?
How do you grep a case insensitive?
What is grep and how do you use it?
How do I delete files from command prompt?
How do I open a port?
What does pipe () return?
What is s and g in sed command?
How to display no of records in oracle using unix command?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?