how can my password contain special characters usi

2019-05-11 22:40发布

问题:

Trying to use the encrypt.sh utility and my password has special characters:

./encrypt.sh input="$%#!" password="your_jasypt_password" algorithm="PBEWITHSHA256AND128BITAES-CBC-BC" keyObtentionIterations=1000 providerName="BC"

-bash: !": event not found

回答1:

Ok easy-- need to use single quotes instead of double quotes.



标签: jasypt