How to kill node processed for all operating system Bash bash script to kill all node processed in linux distro, windows distro @echo offtaskkill /f /im node.ex
Bash
bash script to kill all node processed in linux distro
#!/usr/bin/env bash
#kill -9 $(ps aux | grep '\\snode\\s' | awk '{print $2}')
killall node
Batch
batch script to kill all node processed in windows distro
@echo off
taskkill /f /im node.exe
Powershell
powershell script to kill all node processed in windows distro
cmd "/C TASKKILL /IM node.exe /F"