title: How can I check Tomcat Version on Amazon Linux Machine(AMI)?
body: <p>I am connected to one Amazon Linux Machine(Elastic Beanstalk) via SSH and I am trying to get Tomcat version.</p>
  
  <p>I tried with : <code>yum list installed | grep tomcat</code> but I do not know if this is the right command, because I have updated the tomcat version via AWS console and not via terminal using yum. Is there some other way to get the Tomcat version?</p>