Languages
[Edit]
EN

Bash - how to check Tomcat server version?

2 points
Created by:
Nataniel-Barclay
499

In this short article, we are going to show how to check Tomcat server version under Linux.

The solution is quite simple: go to bin/ directory in Tomcat server installation path and call version.sh script.

Quick solution (run the following command):

 

Example paths:

Note: the above paths should be working for Debian/Ubuntu family Linuxes when Tomcat server was installed with default packages manager - in other distributions or cases do the below Simple steps.

 

Simple steps:

  1. find Tomcat server installation directory using:
    or call whereis tomcat9 replacing 9 with major version number (7, 8, 9, 10, etc.),
  2. go to bin/ directory using:
  3. run version.sh script using:
  4. find the line started with Server version:.

 

Practical example

Edit

1. Finding Tomcat server installation directory:

Example output:

 

2. Going to bin/ directory:

 

3. Runing version.sh script:

Example output:

 

4. Finding the Server version:

 

See also

Edit
  1. Spring Boot - checking Tomcat version (Maven command) 

Alternative titles

  1. Bash - check standalone Tomcat server version
1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

Bash

Bash - check tomcat version
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join