I have a curl command as follows which can contain a password. The password can contain special characters. !£$%^&#-~@ etc.
curl d "valuea=1234&password=1234@!&valuec=87979&submit=Set" -XPOST "http://$ipa/school.cgi"
When this is run I get: bash: !: event not found
How do I escape the special characters in the URL string ?
Thanks