1.Shell 追踪调试 sh -nvx script.sh -n 不执行script 仅仅查询语法问题 -v 执行script之前将script内容输出到屏幕上 -x将使用到的script内容显示到屏幕上。