List running processes in terminal, filter and kill them, if required
You can list all the running processes in linux terminal using the following command :
List running process :
If you want more information you can use the following command :
ps -aef | more
You can filter particular process as well. For example, if you can't find out where does a node.js app running, you can use the following command.
Filter running process :
If you want to filter a process running on a particular port you can use the following command :
ps -aef | grep 'node'
ps -aef | grep 443
Once you find the process you can kill it using the following command :
Kill any running processes :
replace the PID with process id which you find using grep.
kill -9 PID