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