>#!/bin/ksh >#Created by Easton Birdsong >echo Which program would like to kill? >read answer >VAR_PID=`pgrep $answer` >kill -9 $VAR_PID >exit
Easton, Nice script... I have been playing with FreeBSD rc.d scripting... If you (or anyone) wants to toy around with it then here is a good link (it references all the right man pages.. http://www.freebsd.org/doc/en_US.ISO8859-1/articles/rc-scripting/ http://www.freebsd.org/doc/en_US.ISO8859-1/articles/rc-scripting/ There are sample scripts for restarting a simple daemon and an advanced daemon.... Since I know that you play with both Linux and FreeBSD! By the way, when did you start using the Korn shell? You like it better than zsh or bash? If so then why? Just curious... Later... Very Respectfully, Billy Haines Associate of (ISC)2 toward CISSP, CCNA Security, CCNA R&S, ETA FOI [email protected]

