title: Bash: if [ "echo test" == "test"]; then echo "echo test outputs test on shell" fi; Possible?
body: <p>Is it possible with bash to execute a command from shell and if it returns a certain value (or an empty one) execute a command?</p>
  
  <pre><code>if [ "echo test" == "test"]; then
    echo "echo test outputs test on shell"
  fi
  </code></pre>