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 Posted / shubham shivaji kale
You can use the following command:
# cat file1 > file2 2> file3
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does $0 mean in shell script?
What is eval in shell script?
How to redirect both standard output and standard error to the same location?
What is shell application?
I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?
How to pass an argument to a script?
How do I start a shell script?
Given a file find the count of lines containing the word "abc".
What is the use of .sh file?
What is awk in shell scripting?
What are "c" and "b" permission fields of a file?
Explain about stdin, stdout and stderr?
What are the default permissions of a file when it is created?
What does path stand for?
Explain about debugging?