先进到tomcat的bin目录下(cd /tomcat目录/bin),在执行./version.sh 本文转载自:http://blog.csdn.net/xb12369/article/details/45171055