Really clueless on scripts. Goal: run the command line callCode:#!/bin/bash
if grep -q Safari.app `pa ax`; then
echo found
else
echo not found
fi
pa ax
which'll give all the running processes, then grep for "Safari.app" in it and do something if found. Any ideas? Thanks.