Jordan Savant // Software Engineer

#!/bin/bash

if [ "$(pidof process_name)" ]
then
  # process was found
else
  # process not found
fi