阅读背景:

在bash调试运行期间隐藏信息

来源:互联网 

We do debug run(bash -x ./my_script.sh) in a shell script to understand/show what it is doing. But in doing so it might show some sensitive information that I dont want to be visible, such as passwords. My script extracts the password from a secure vault and passes it as a variable within the script when required. We do debug run(bash -x ./my_script.sh) in a sh




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: