Find

How to Kill OS process from process name.

How to Kill OS process from process name.
use single line command for kill process by specific name of process.
#ps -ef | grep <process name>| awk '{print $2}' | xargs kill -9

Example: Kill process name like ftp :
#ps -ef | grep ftp | awk '{print $2}' | xargs kill -9