[LUNI] Kill previous command?
Michael Labowicz
mlabowicz at gmail.com
Wed Jun 20 11:30:40 CDT 2007
Dear Luni,
I'm looking to record some FM radio off of my ivtv-compatible hardware
encoding card. I'm currently planning on calling a script like this through
a cron job and ending it through the use of a combination of sleep and kill:
#! /bin/sh
cat /dev/video24 > recording.wav & sleep 3h
kill (previous process?)
Problem is, I'm not sure how to kill the previous command, I know it has
something to do with the ! symbol, but I can't seem to find how to do it.
Any ideas?
Thanks in advance!
--
Michael Labowicz
http://www.labowicz.com/blog/
More information about the luni
mailing list