how to killl all proxesses in linux code example Example 1: bash kill all terminal kill $(pgrep bash) Example 2: kill all process killall node -9