shell脚本的调试sh-x
摘要:1. 几种不错的调试方法 (1)使用echo打印信息 类似与python的print打印 (2)命令行中使用sh x script.sh (3)shell脚本中设置 set x 开启调试、 set +x 禁止调试 2. 调试方式的选择 首选调试方式sh x ,简单便捷。她能跟踪执行信息,将执行脚本的
阅读全文
posted @ 2019-06-19 21:51
posted @ 2019-06-19 21:51
posted @ 2019-06-13 21:54
posted @ 2019-06-13 15:50
posted @ 2019-04-29 10:50