Top community members
All Wiki Articles Create Wiki Article

Many years me and my friends we were volunteers on my university doing programming classes for young people.

I got main conclusion: Young people are awesome, especially students, because they always bring new and fresh ideas :)
* I loved to do it but my time is limited

  I decided to create something that will help millions of students

Now I am here


Bash - how to check tomcat version?

0 contributions
2 points

In this short article we are going to show how to check tomcat version in Linux.

Solution is quite simple: go to bin/ directory in tomcat installation path and call script.

Simple steps:

  1. find tomcat installation directory with:
    find / -type d -name "tomcat*"
    or call whereis tomcat8 replacing 8 with major version number,
  2. go to bin/ directory,
    cd /path/to/tomcat/bin,
  3. run ./,
  4. find line started with Server version:.

Console example:

root@debian-server:~# find / -type d -name "tomcat*"
root@debian-server:~# cd /usr/share/tomcat8/bin
root@debian-server:/usr/share/tomcat8/bin# ./
Using CATALINA_BASE:   /usr/share/tomcat8
Using CATALINA_HOME:   /usr/share/tomcat8
Using CATALINA_TMPDIR: /usr/share/tomcat8/temp
Using JRE_HOME:        /usr
Using CLASSPATH:       /usr/share/tomcat8/bin/bootstrap.jar:/usr/share/tomcat8/bin/tomcat-juli.jar
Server version: Apache Tomcat/8.5.54 (Debian)
Server built:   Apr 25 2020 15:01:31 UTC
Server number:
OS Name:        Linux
OS Version:     4.9.0-11-amd64
Architecture:   amd64
JVM Version:    1.8.0_252-8u252-b09-1~deb9u1-b09
JVM Vendor:     Oracle Corporation


0 contributions

Checkout latest Findings & News:

Checkout latest questions:

Checkout latest wiki articles:

Hey 👋
Would you like to know what we do?
  • Dirask is IT community, where we share coding knowledge and help each other to solve coding problems.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.
Read more