Can I avoid the standard output from kill command

I am sending a kill comand to kill a process inside a SH script but I don`t want the user to notice it so I don�t want the message "1222 killed" to appear.

I`ve tried to redirect the standard output to /dev/null 2>&1 and also tried to use "nohup" but none of them was succesfull.

Can anyone help me? Thank you:confused:

That message is coming from the shell that started the process. It is not coming from the kill command. Try starting the process from a subshell, or try sending the shell's stder and stdout to /dev/null. Turning off job control may also work.