Created
April 14, 2022 13:21
-
-
Save fcsest/e1bd2ef7a89090535ba18456cf0e8946 to your computer and use it in GitHub Desktop.
Stop ngrok process in fish shell with "source strop_ngrok.sh".
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/sh | |
echo "Stopping background ngrok process..." | |
kill -9 $(ps -ef | grep 'ngrok' | grep -v 'grep' | awk '{print $2}') | |
echo "ngrok stopped" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment