echo shell commands as they are executed

http://stackoverflow.com/questions/2853803/in-a-shell-script-echo-shell-commands-as-they-are-executed

 

set -x #echo on

 

或者

#!/bin/bash -x

 

posted on 2015-05-28 11:09  偏爱省略号  阅读(150)  评论(0编辑  收藏  举报

导航