Last active
December 12, 2015 02:49
-
-
Save benedict-w/4702129 to your computer and use it in GitHub Desktop.
Get Process ID of Rails Server (port 3000) MacOS
This file contains hidden or 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
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