I'm trying to pass a password as a parameter so the password uses numbers after the char !
example:
root@LinDom:~# senha="teste!123"
senha="testevim /etc/hosts"
root@LinDom:~#
root@LinDom:~# echo ${senha}
testevim /etc/hosts
root@LinDom:~#
How do I escape the char !
?
I wanted my result after echo ${senha}
to be teste!123