Debugging on part(s) of the script

set -x   # activate debugging from here
w
set +x   # stop debugging from here

bash -x script1.sh

posted @ 2011-06-07 10:25  greencolor  阅读(86)  评论(0编辑  收藏  举报