linux shell 脚本调试技巧

bash -x 加脚本 这是最常用的调试手段,终端会打印出,脚本执行过程中的每一个命令。
posted @ 2024-04-24 10:51  天翼云开发者社区  阅读(58)  评论(0编辑  收藏  举报