title: Unix: chaining commands
body: <p>I have learned that ';' is equivalent to 'enter' in the command line. But I have this situation.</p>
  
  <p>My directory has the following configuration: Directory A contains directories B and C. In currently in directory B. I do the following:</p>
  
  <blockquote>
    <blockquote>
      <p>cd ../</p>
    </blockquote>
  </blockquote>
  
  <p>that takes me to A, of course. Then I do:</p>
  
  <blockquote>
    <blockquote>
      <p>cd C</p>
    </blockquote>
  </blockquote>
  
  <p>that takes me to C. </p>
  
  <p>However, if I chain the two commands, starting in B again:</p>
  
  <blockquote>
    <blockquote>
      <p>(cd ../ ; cd C)</p>
    </blockquote>
  </blockquote>
  
  <p>I still stay in B. What is going on? Why does it not take me to C?</p>