stdout_stderr 2018-01-13 linuxchallenge determine if output is stdout or stderrsolution redireciton standard input: 0 standard output: 1 standard error: 2 print STDERR in red1bash func 2> >(while read line; do echo -e "\e[01;31m$line\e[0m" >&2;done) 实验楼 references determine if output is stdout or stderr bash:print stderr in red color Last updated: 2018-01-13 16:06:08 版权归作者所有,转载需注明出处 赏 Prev 添加评论 Next sed_markdown