title: Can I execute nested or chained commands in UNIX shell?
body: <p>Can I execute command within another command in UNIX shells?</p>
  
  <p>If impossible, can I use the output of the previous command as the input of next command, as in:</p>
  
  <p><code>command x</code> then <code>command y</code>,</p>
  
  <p>where in <code>command y</code> I want use the output of <code>command x</code>?</p>