Hi, Just a quick question. Is there a quicker way of doing this, which is still easily readable: #! /bin/bash # See if there is a copy of this script running test -e $WLAN_PID if [ "$?" = "0" ]; then dostuff fi I have been doing it like this for ages, just wondered if there was a way to save on the typing.... Phil