Kill All Processes by Name

  • Use 'pidof' to find process IDs by name
  • Use 'kill -9' to forcefully terminate processes
  • Stops processes immediately without cleanup
  • Use with caution to avoid data loss
Bash
kill -9 $(pidof rsync)