title: how to save to bash_profile using nano editor
body: <p>I open bash_profile using the command </p>
  
  <pre><code>nano .bash_profile
  </code></pre>
  
  <p>To save, I tried ctlr + x, then Y.</p>
  
  <p>then I open the file again, changes are not there?</p>
  
  <p>what am I doing wrong here?</p>