shell脚本调试
$ bash -x domains.sh
# -x 进入跟踪方式,显示所执行的每一条命令
参见:
https://www.cyberciti.biz/tips/debugging-shell-script.html
https://www.ibm.com/developerworks/cn/linux/l-cn-shell-debug/index.html
‘.’ 的意思
# 执行脚本文件‘/lib/lsb/init-functions’
. /lib/lsb/init-functions
‘:’ 的意思
# true的意思
:
网友评论