title: status command not found in linux
body: <p>I have a <code>celery.config</code> file in location <code>/etc/init/celery.config</code> and I can run commands like <code>status celery</code>, <code>start celery</code> and <code>stop celery</code>, these commands works as expected in Linux.</p>
  <p>But when I put these commands in a shell script service and run <code>sh service.sh</code> I got error <strong>status: command not found</strong></p>
  <p>here is my service.sh file</p>
  <pre><code>#!/bin/bash
  
  CELERYD=$(status celery)
  echo&quot;$CELERYD&quot;
  </code></pre>