title: A simple if/else bash script which reacts to user's yes/no input?
body: <p>I basically have a bash script which executes 5 commands in a row. I want to add a logic which asks me "Do you want to execute command A" and if I say YES, the command is executed, else the script jumps to another line and I see the prompt "Do you want to execute command B". </p>
  
  <p>The script is very simple and looks like this</p>
  
  <pre><code>echo "Running A"
  commandA &amp;
  sleep 2s;
  echo "done!"
  
  echo "Running B"
  commandB &amp;
  sleep 2s;
  echo "done!"
  ...
  </code></pre>