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 are different types of shell?
Is bash an operating system?
What does $1 mean in bash?
What is k shell?
What is subshell?
What is $1 in shell scripting?
How does shell scripting work?
What is eval in shell script?
How do we delete all blank lines in a file?
What is an inode block?
How to set an array in linux?
What is the use of script interpreter in shell scripting?