title: How do I test (in one line) if command output contains a certain string?
body: <p>In one line of bash, how do I return an exit status of 0 when the output of <code>/usr/local/bin/monit --version</code> doesn't contain exactly <code>5.5</code> and an exit status of 1 when it does?</p>