Skip to content

Instantly share code, notes, and snippets.

@mynameiskreang
Created November 4, 2020 04:23
Show Gist options
  • Save mynameiskreang/b5e9a26d16ef33930e5df68315853ff4 to your computer and use it in GitHub Desktop.
Save mynameiskreang/b5e9a26d16ef33930e5df68315853ff4 to your computer and use it in GitHub Desktop.
#! /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