Skip to content

Instantly share code, notes, and snippets.

@siumhossain
Created July 23, 2022 06:43
Show Gist options
  • Save siumhossain/d634cf78467bb2afe21d8cdd29b2baa8 to your computer and use it in GitHub Desktop.
Save siumhossain/d634cf78467bb2afe21d8cdd29b2baa8 to your computer and use it in GitHub Desktop.
kill any running process inside any port in linux (bash terminal)

Check what kind of process running in specific port by

lsof -i:<port_number>
kill $(lsof -i:<port_number>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment