title: Bash: Check if enter was pressed
body: <p>How can I check in Bash if the <strong><kbd>Enter</kbd></strong> key has been pressed?
  I'm using the read command:</p>
  
  <pre><code>read -p "Please press ENTER" var
  </code></pre>