standard output and error to same file
08/21/2009
question:
I want both standard output and standard error of my command cmd to go to the same file log.txt
answer:
cmd >log.txt 2>&1
Categories: Uncategorized
1, 2, standard error, standard out, unix