title: Bash pwd and open with pipe not working
body: <p>I'm learning how to work with I/O Redirection in bash and tried some examples with the pipe like:</p>
  
  <pre><code>pwd | say
  ls -l | grep "staff" &gt; out.txt
  </code></pre>
  
  <p>But when I try using both <code>pwd</code> and <code>open</code> using pipe redirection, the command fails and I just receive <code>open</code> usage.</p>
  
  <p>What I'm trying is: <code>pwd | open</code> </p>
  
  <p>What is the correct way to open the current directory from bash?</p>