How do you pipe output to the end of a file? (Java, Terminal) -


i type in command line:

javac *.java && java neuralnetapp > xormomentumtest.txt 

this erases in xormomentumtest.txt , fills output program.

what want add output end of xormomentumtest.txt, instead of replacing contents, can run program many times , keep output.

try this:

javac *.java && java neuralnetapp >> xormomentumtest.txt 

this more of operating system question, java question. i'm assuming have unix or linux os.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -