title: Passing command line argument from the terminal with apostrophe or quote
body: <p>I have seen questions about passing arguments with quotes to a shell script (e.g., <a href="https://stackoverflow.com/questions/11606818/shell-script-command-line-argument-with-quotes">this question</a>).</p>
  
  <p>My situation is slightly different:</p>
  
  <p>I am passing an argument to my java program from the bash terminal. The number of possible arguments is finite (20, to be precise), and one of them is "alzheimer's". But if I type</p>
  
  <pre><code>java -cp ... myclass --term alzheimer's
  </code></pre>
  
  <p>this is what I see:
  <img src="https://i.stack.imgur.com/wZwNE.png" alt="enter image description here"></p>
  
  <p>.. and then I have to ctrl+C out of it.</p>
  
  <p>Everything works fine if it's a single word with all alphanumeric characters. What should I do for this one case with the apostrophe?</p>