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 to set an array in linux?
Write a shell script to get current date, time, user name and current working directory.
How do I open the shell in cmd?
What is bash shell command?
Why is the use of shell script?
What is shell scripting?
What is the difference between break and continue commands?
What is in a script?
What is shell and terminal?
What is the difference between bash and shell?
what is info area how many types?
What is the first line in every perl script called?
What will happen to my current process when I execute a command using exec?
What is shift command in shell script?
I want to connect to a remote server and execute some commands, how can I achieve this?