Built with Grav - The Modern Flat File CMS
grep_process.sh
ps cax | grep httpd if [ $? -eq 0 ]; then echo "Process is running." else echo "Process is not running." fi