tgardenh@nmsu.edu (Tricia Gardenhire) (08/11/89)
Thanks to all who sent me their ideas. I think I understand a little
more about how grep, and awk work now. Any way, to summarize, the
easiest way to do this was:
kill `ps -aux | fgrep -e -sleeper | egrep -v fgrep | awk '{print $2}'`
Most other ideas were similar, but were more involved shell scripts.
For others who wish to use this, just change "-sleeper" to whatever
process you need to kill.
Thanks again for all the help.
-Trish