Results 1 to 2 of 2
Hi all,
I'm a newbie to Shell script.
Currently i have a java application.
I'm running that java application using a shell script.
I need to print the System.out.println() statements ...
- 09-30-2008 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 1
Maintain the log
Hi all,
I'm a newbie to Shell script.
Currently i have a java application.
I'm running that java application using a shell script.
I need to print the System.out.println() statements in a file while i running the shell script.
Can anyone help on this.
Thanks in advance
Regards,
Ajay
- 10-01-2008 #2Linux Newbie
- Join Date
- Jul 2008
- Posts
- 181
Use output redirection, e.g.:
Code:bash myscript > mylogfile


Reply With Quote