Created
October 20, 2011 04:26
-
-
Save benmacleod/1300414 to your computer and use it in GitHub Desktop.
Kill your rogue Rails server so you can start another
This file contains 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
# Assuming it's running on port 3000 | |
kill -9 `lsof -i :3000|awk 'NR > 1 {print $2}' -|uniq` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment