bash

bash -n xxx.sh
检查脚本的语法格式,

bash -x xxxx.sh
显示脚本的执行顺序

原文地址:https://www.cnblogs.com/cizao/p/11717621.html