How do I kill processes in Ubuntu 18.04 or 19.10?

To kill all the processes that you have the permission to kill, simply run the command: kill -15 pid or kill -9 pid

If your searching for node type in terminal like ps -ax | grep node, it shows the process id of corresponding application. You can stop that application by kill command if process id=12345

sudo kill -9 12345

With pkill and sending signal 9, you can kill process by name:

sudo pkill -9 node

#ubuntu

16.45 GEEK