Last active
March 16, 2018 20:24
-
-
Save OAkyildiz/a1ac761c292e0939bd02edc069f7d8f5 to your computer and use it in GitHub Desktop.
Unbind a port by killing the owner process
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 | |
sudo kill $(sudo lsof -t -i:$1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment