tee tee command line utility implemented in java Build sh build.sh or build.bat Usage $ cd build $ ps -ax | java tee.Tee log