title: How to escape double quotes in bash command
body: <p>I have the following command, which I am trying to append to my <code>~/.bash_profile</code>:</p>
  
  <pre><code>echo 'alias N="cd $(pwd) &amp;&amp; source ./bin/activate &amp;&amp; cd new""
  </code></pre>
  
  <p>I want it to return echo:</p>
  
  <pre><code>alias N="cd /Users/david/Desktop/django2 &amp;&amp; source ./bin/activate &amp;&amp; cd new"
  </code></pre>
  
  <p>What would be the correct way to escape the <code>pwd</code> or quotes?</p>