db2密码中有感叹号时,连接方法

在脚本文件中,可以将密码用单引号括起来

db2 "connect  to testdb user test_user using 'Gb2Zk1!R'"