Skip to content

Instantly share code, notes, and snippets.

@NikitaPokryshko
Created February 6, 2020 11:51
Show Gist options
  • Save NikitaPokryshko/45d14ff183d25f0a1ef8a63bf7a9677a to your computer and use it in GitHub Desktop.
Save NikitaPokryshko/45d14ff183d25f0a1ef8a63bf7a9677a to your computer and use it in GitHub Desktop.
Mac OS commands

Mac OS commands

To kill process on port:

lsof -i:<PORT_NUMBER>
=> COMMAND, PID, USER and etc...
kill -9 <PID>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment