title: Check if a program in a specific path is running
body: <p>I am trying to check if a process is running with the code below:</p>
  
  <pre><code>SERVICE="./yowsup/yowsup-cli"
  RESULT=`ps aux | grep $SERVICE`
  
  if [ "${RESULT:-null}" = null ]; then
      echo "not running"
  else
      echo "running"
  fi
  </code></pre>
  
  <p>But it keeps echoing it is running although it is not. I realized that the grep itself comes as a result and that is the issue.</p>
  
  <p>How can I skip the grep and just check for the process?</p>