Skip to content

Instantly share code, notes, and snippets.

@benedict-w
Last active December 12, 2015 02:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benedict-w/4702129 to your computer and use it in GitHub Desktop.
Save benedict-w/4702129 to your computer and use it in GitHub Desktop.
Get Process ID of Rails Server (port 3000) MacOS
lsof -P | grep ':3000' | awk '{print $2}'
sudo kill -9 [process_id]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment