Skip to content

Instantly share code, notes, and snippets.

@pestilence669
Created November 20, 2014 02:33
Show Gist options
  • Save pestilence669/22cf898f1353436cf757 to your computer and use it in GitHub Desktop.
Save pestilence669/22cf898f1353436cf757 to your computer and use it in GitHub Desktop.
Get the Tomcat version(s) in Ubuntu
#!/usr/bin/bash
# vim: set ts=4 sw=4 noet:
java -cp /var/lib/tomcat*/lib/catalina.jar org.apache.catalina.util.ServerInfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment