1The Difference Between kill and pkill
2The kill command is a wrapper to the kill system call, which knows only about process IDs. pkill can determine the process ID based on things like, process name, owner of the process or session id.
3
4Syntax:
5$ kill 1234
6$ pkill -f node
7