title: How to prompt for yes or no in bash?
body: <p>How do I ask a yes/no type question in Bash?</p>
  
  <p>I ask the question... <code>echo "Do you like pie?"</code></p>
  
  <p>And receive the answer... <code>read pie</code></p>
  
  <p>How do I do something if the answer is <code>yes</code>, or starts with <code>y</code> (so yes and yeah, etc, will work too).</p>