How to stop the script which is running in background

Hi

I have a script, which i ran in background, can someone please help in stopping this.

i gave this command:

ksh abc.ksh &

this script sends me a mail every 30 seconds. i have deleted the script but still i am getting the mails. can some one please help me stopping dese.

thanks in advance

try this
history | sed 's/[0-9][0-9]*//'

thnx Shishir

you may try below:

ps -ef | grep -i XXXX:  to find your background running process

kill OID : kill your unnecessary process

just do a "fg" to bring your process back and stop it with ctrl+c.