command 2>&1 >/dev/null

  • stderr와 stdout을 함께 stdout으로 보냄
command 2>&1

  • stderr와 stdout을 tee 파이핑하기
command 2>&1 |tee log

  • stderr, stdout 각자 파이핑
ls . no_exists_file 2> >(tee z.err) 1> >(tee z.out)
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2020-09-11 10:52:58
Processing time 0.0088 sec