title: How to store an output of shell script to a variable in Unix?
body: <p>i have a shell script "script.sh" which gives output as "success" or "Failed" when i execute in unix window.
  Now i want to store the output of script.sh into a unix command variable. <code>say $a = {output of script.sh}</code></p>