How to kill a process in Linux

1. type command:

kill -9 [process id]

replacing the "[process id]" with the id of the process you want to kill.


 * To know the process id, use the command:

ps -ef | grep [substring] replacing the "[substring]" with any substring, - i.e., your username, or the filename.

how to kill a process From HowTo Wiki, a Wikia wiki.