Reputation: 599
How do i send stdout to console and stderr to a file? So far the closest I've come is:
eval $JOB_EXEC_CMD >> $LOG_FILE 1>&2
but this writing both the logs and output to console. I just want stdout to console and everything else to file
Thanks in advance
Upvotes: 1
Views: 60