title: How to automatically hit Enter in bash script when asked?
body: <p>I know that this question is answered many times, but I still can't figure out how to do it. Maybe it's because I don't know the correct keyword to search for. </p>
  
  <p>Using</p>
  
  <pre><code>echo -ne '\n' | enter
  </code></pre>
  
  <p>doesn't work. My code is:</p>
  
  <pre><code>#! /bin/bash
  #Grub-customizer
  sudo add-apt-repository ppa:danielrichter2007/grub-customizer
  echo -ne '\n' | return
  sudo apt-get update
  sudo apt-get install grub-customizer
  </code></pre>