# perl -e 'print "hello\n"' > test.out 2>&1 #### #cat test.out hello