I am trying to use the screen command on linux. I need to print the stdout that I get in a normall shell command to a separate file after a detached session is done. How can I do so?
In particular, I am trying to run Weka experiments in screen and I need the results in a seperate file. For instance, the results of the following?
screen java weka.classifiers.bayes.NaiveBayes -t data.arff -x 10
When I am not using screen I simply get the results using:
java weka.classifiers.bayes.NaiveBayes -t data.arff -x 10 > file.output