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
Post a Comment