title: How to put the output of command in bash variable
body: <p>I want to put the output of command in bash variable and then further use that variable in other command</p>
  
  <p>Suppose i want something like this</p>
  
  <p><code>ls | $(variable) |awk '/$variable/{print "here"}'</code></p>