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 are shells born?
What is an inode block?
How do I run a .sh file on mac?
What is mac default shell?
How do I edit a .sh file?
What is shell geeksforgeeks?
How do I read a .sh file?
Is it possible to substitute "ls" command in the place of "echo" command?
How do you create a shortcut in linux?
Is shell and terminal the same?
How do I start a shell script?
What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?
What are the different commands available to check the disk usage?
What is scripting autism?
Calculate a real number calculation directly from the terminal and not any shell script.