摘要: 1.set -x 或set xtrace 会显示+以及脚本中的内容(执行的部分,没执行的不显示) set -xv(脚本中所有的内容都显示,包括没执行的部分) 2.debug=3 //多层级调试 test $debug -gt 0 && echo "a"test $debug -gt 1 && ech 阅读全文
posted @ 2019-07-08 17:50 MoonXu 阅读(714) 评论(0) 推荐(0)