I want to read all input to the command from file1 direct all output to file2 and error to file 3, how can I achieve this?
Answer / shubham shivaji kale
You can use the following command:
# cat file1 > file2 2> file3
| Is This Answer Correct ? | 0 Yes | 0 No |
What is echo $shell?
What is the use of "test" command?
What is shell company all about?
why did you apply to shell
what is "umask"?
What is a program shell?
What is bourne shell scripting?
What is shell geeksforgeeks?
What is a shell script in windows?
What are the advantages of shell script?
What is the difference between a shell variable that is exported and the one that is not exported?
How do you debug a script?