shell同时把标准错误重定向到标准输出和文件

命令或者脚本 2> >(tee ./error.txt)