senem
1
I would like to send results as log to a file on unix.
When I try to run following command, no command_result file occured. I can't see logs.
How can I put the results to a file with java command on unix ?
java -classpath . HelloWorld $parameter>command_result
joeyg
2
senem
3
Following command doesn't help to write results to log file.
How can I put results to a log file for this command ?
prm_result=`java -classpath . HelloWorld $parameter`
echo $prm_result>file.log