shell bash set -x set +x

这两条命令 用于调试 shell 脚本。

 

 

 

测试结果:

 

posted @ 2024-01-25 18:50  看星星的派大星  阅读(73)  评论(0编辑  收藏  举报