shell调试

sh -x 

set -x

中间是要调试的代码 

set +x

 

posted @ 2016-12-16 16:29  howhy  阅读(155)  评论(0)    收藏  举报