how to kill a process in terminal code example
Example 1: windows kill process
// Kill process by exe name
taskkill /IM "ProcessName.exe" /F
Example 2: linux kill process
ps aux | grep chrome
// Kill process by exe name
taskkill /IM "ProcessName.exe" /F
ps aux | grep chrome