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  阅读(96)  评论(0)    收藏  举报