kill process by commad code example
Example 1: kill process cmd
netstat -ano | findstr :3000
taskkill /PID "123" /F
Example 2: how to kill process by command name
pkill firefox
netstat -ano | findstr :3000
taskkill /PID "123" /F
pkill firefox