[Dshield] CAUTION email about shell scripting...

J Lake jlake at knoxcounty.midcoast.com
Wed Oct 13 18:10:31 GMT 2004


On Wednesday 13 October 2004 01:15 pm, Meidinger Chris wrote:
> i'm a bit of a hack of a shell scripter, someone will probably have a one
> liner for you, but .....
>
> PROC=`ps aux | grep "ssh -C -p 9428 -R" | grep -v grep`

I am risking sounding like a fool, but I always put full pathnames in shell 
scripts .... /usr/ucb/ps instead of ps for example.

anyway i will go away now!
~j



More information about the list mailing list