what does the 'tee' command do?
Answers were Sorted based on User's Feedback
Answer / linuxdemon
This command is used to read input from stdin and write to
both the file and stdout.
eg: tee -a oldfilename
type the contents
ctrl+D
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / narendra simha talluri
it will save intermediate output in a file.
it copies its input to the named file(s), as well as to its output.
it is handy for manipulating pipes.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / subbareddy kake
by using tee command we can create files.
| Is This Answer Correct ? | 1 Yes | 4 No |
Answer / sowmya
tee command is used for redirecting the output to stdout
| Is This Answer Correct ? | 0 Yes | 4 No |
Describe the zip/unzip command using gzip.
Sorry to all Technical person for mistake of Question. Now i am post currect question Why copied file permission is changed in destination. When i give all permission i.e 777 to file and copy that to other location in destination the permission is 755. But if give permission 555 in destination that file permission is 555 and if give permission 444 to file after copy in destination the file permission is 444. These all are happening in normal user. How the umask value is calculate here really i am not understand. Please write the proper answer. Thanks in Advance
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
How to display no of records in oracle using unix command?
What do chown command do?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include<stdlib.h> # include <stdio.h> int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:
What is the Unix file system hierarchy?
What are the dos commands?
What is the functionality of a top command?
What is grep and how do you use it?
what do you understand by 'building block primitive'?
what is the difference between "cron" command and "at" command?