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
How do I save a powershell script?
How do I read a .sh file?
What is the default shell of solaris?
Set up a Sev 2 alert when the Primary WA service fails. A windows batch script needs to be created that will monitor the WA service on the Primary and when the service stops/fails a Sev 2 TT is generated for a particular team ?
What happens when you type ls?
How can I send a mail with a compressed file as an attachment?
how will you find the total disk space used by a specific user?
What does $$ mean in shell script?
Given a file find the count of lines containing the word "abc".
What is the way to do multilevel if-else's in shell scripting?
What is sudo command?
What is a shell environment?
Explain about echo command?
What is awk in shell scripting?
What is bash eval?