Skip to content

Instantly share code, notes, and snippets.

@jesugmz
Last active May 13, 2021 13:01
Show Gist options
  • Save jesugmz/bbe767ddaa2f5657d412c632fe9af2fb to your computer and use it in GitHub Desktop.
Save jesugmz/bbe767ddaa2f5657d412c632fe9af2fb to your computer and use it in GitHub Desktop.
An alternative to killall command
#!/bin/bash
#
# An alternative to killall command
#
kill -9 $(pgrep <PROCESS_NAME>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment