I have a script that invokes the play command when I press f10. I would like to edit that script so if I press it while an audio file is play
ing, then it kills that first before playing the next file.
What command am I looking for? Something like,
killall play
?
killall play
sounds good. Have you tried it? – Byte Commander Jan 28 '17 at 21:36