I use the following script (which I start from at
command) as an alarm:
#! /bin/shset -mwhile true; do paplay /usr/share/sounds/phone.wavdone &
I want to bind a key to stop this alarm. Please help to write a script which could locate and kill this process.