On Feb 18, 2008 11:54 AM, Dave Phillips <dlphillips at woh.rr.com> wrote: > Greetings, > So how do I test for JACK in a simple bash shell script ? JACK_PID=`ps --no-headers -o pid -C jackd` if [ -n "$JACK_PID" ]; then # jackd is up else # jackd is down fi