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 is the syntax of "nested if statement" in shell scripting?
Why is used in shell scripting?
How can we find the process name from its process id?
Why is it called a shell?
What is gui scripting?
Where cron file kept?
What is shell chemistry?
Is shell scripting a language?
what is info area how many types?
Is bash a shell script?
what is "umask"?
Create a bash shell script that reads a line from the user consisting of 5 words and then prints them out in reverse order. Name this script "reverse.sh"