title: How to combine multiple commands output in the one varialble in shell script?
body: <p>I'm using the following script to get the data of one of the variables from the database file</p>
  <pre><code>#!/bin/bash
  
  sqlite3 pdu.db &lt;&lt;'END_SQL'
  .timeout 2000
  SELECT Variable_Value FROM Data Where Sr_No'7';
  END_SQL
  </code></pre>
  <p>Now I wanted to store the output of the above commands in one variable. How we can store multiple commands output in one variable in the shell script?</p>