On Thu, Oct 13, 2005 at 08:51:22AM +0200, Dominic Dunlop wrote:
> A late arrival which hasn't been mentioned so far:
> $ killall -0 Illustrator 2>/dev/null && echo "Illustrator is running"

killall is a Really Bad Idea.  While it does indeed do what you intend
on OS X, on other commercial Unices like Solaris it really does kill
all.  That is, it sends your chosen signal to all processes.  Not good.
So don't get in to the habit of using it.

-- 
David Cantrell | Benevolent Dictator Of The World

Eye have a spelling chequer / It came with my pea sea
It planely marques four my revue / Miss Steaks eye kin knot sea.
Eye strike a quay and type a word / And weight for it to say
Weather eye am wrong oar write / It shows me strait a weigh.

Reply via email to