using > to store output
Hey,
I run a script that calls upon a simple java program multiple times, telling it to access specific files that make it throw error messages. The script has a few "echo" lines in it, as well. When i run the script like this Code:
$ sh testErrors.sh > errors.out Thanks :) |
Output redirection:
0 = stdin input device such as keyboard 1 = stdout output device usually the console 2 = stderr error message usually displayed at the console Example: ls nofile > test 2>&1 This sends 1 and 2 to a file called test. |
strange usage...
Cool, thanks |
All times are GMT -5. The time now is 02:40 PM. |