Ans: First, use ps to get the process id (PID)
Try using: kill
This will give the process a chance to clean up after itself, like removing temp files, etc.
Some processes will not accept or ignore this signal. If the process does not go away, use: kill -9
This signal cannot be ignored, it will definitely kill the process. The process will not have a chance to clean up after itself though.
Use kill -9 only if necessary.
Note that you must be the process owner or the super user to kill a process.