shell调试

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

set -x 开启 

set +x 关闭

猜你喜欢

转载自www.cnblogs.com/drizzlewithwind/p/8982024.html
今日推荐