shell调试

可以在sh内使用set -x,使用后,会打印每条命令的输出

 

set -x 开启 

set +x 关闭

posted @ 2018-05-02 19:26  raindream  阅读(416)  评论(0)    收藏  举报