Created
November 4, 2020 04:23
-
-
Save mynameiskreang/b5e9a26d16ef33930e5df68315853ff4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#! /usr/bin/env bash | |
## kill process by port | |
kill -9 $(lsof -t -i:{port}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment