Skip to content

Instantly share code, notes, and snippets.

@nmccready
Last active August 29, 2015 13:56
Show Gist options
  • Select an option

  • Save nmccready/8854032 to your computer and use it in GitHub Desktop.

Select an option

Save nmccready/8854032 to your computer and use it in GitHub Desktop.
#!/bin/sh
kill -9 $(echo `ps aux | grep tomcat | grep -v grep |awk '{print $2}'`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment