Last active
May 13, 2021 13:01
-
-
Save jesugmz/bbe767ddaa2f5657d412c632fe9af2fb to your computer and use it in GitHub Desktop.
An alternative to killall command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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