java - Ambiguous output redirect on solaris -
i'm running java program on solaris , want redirect both standout , standerr log file while still keeping them in console.
here's command use:
java -jar myprogram.jar 2>&1 | tee build.log
however, gives me following error:
ambiguous output redirect
use ksh or bash, (t)csh doesn't support syntax (and possibly not functionality)
Comments
Post a Comment