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 the advantages of using shell scripts?
What is the significance of $#?
What is the use of "$#" in shell scripting?
Why is shell scripting important?
How to get the last line from a file using just the terminal?
How important is shell scripting?
How to print some text on to the screen?
How to print all the arguments provided to the script?
Why is the use of shell script?
What does chmod do?
What is scripting autism?
write a shell script to check whether all the directories in the path exist has read and write permission