直接使用此命令即可 1 sh -x update.sh 2>&1 | tee message.log 相关文章: 2021-10-17 2022-01-24 2022-12-23 2021-09-05 2022-12-23 2022-12-23 2021-12-04 2021-06-15