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 |
write a non recursive shell script that accepts any number of arguments and prints them in the reverse order
I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?
What is the use of "$?" Sign in shell script?
What does $@ mean bash?
What is difference between shell and bash scripting?
What is Linux language details
What is the significance of the shebang line in shell scripting?
What is bash eval?
What is subshell?
What is the use of echo in shell script?
What is the use of .sh file?
Why is it called a shell?