Pages

Version index

These are some of my notes on to find the version of applications or operating systems.

Applications

I often need to find out what version of an application is installed on the system.

Application Command Example Command Output
Ansible /usr/bin/ansible --version ansible 2.9.27
Apache HTTP httpd -v
httpd -M - for modules
more detail
Server version: Apache/2.4.54 (Unix)
Apache Tomcat sh version.sh
svcs -lp tomcat (Solaris)

AWS CLI /usr/local/bin/aws --version aws-cli/2.7.10 Python/3.9.11 Linux/3.10.0-1160.83.1.el7.x86_64 exe/x86_64.rhel.7 prompt/off
Firefox firefox -v
firefox -version
Mozilla Firefox 102.3.0esr
GIT git --verson
Ipmitool ipmitool -V
Java java -version
java -fullversion
rpm -qa | grep '(jre | jdk)'
java version "1.8.0_345"
Java(TM) SE Runtime Environment (build 1.8.0_131-b31)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b31, mixed mode)
Nessus  /opt/nessus/bin/nessus -v
/opt/nessus/sbin/nessuscli -v
nasl 19.3.0
Nessus 10.3.0 [build 20080]
Copyright (C) 1998 - 2022 Tenable, Inc. 
NetBackup cat /usr/openv/netbackup/version HARDWARE SOLARIS
VERSION NetBackup 7.7.2
RELEASEDATE Mon Jan 11 17:03:15 CST 2016
BUILDNUMBER 20160111
OpenSSL openssl version
openssl version -a
OpenSSL 1.0.1e-fips 11 Feb 2013
Perl perl -v
perl -version
This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi
PHP php -v PHP 5.6.21 (cli) (built: May  3 2016 11:42:53)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
Postfix rpm -qf /etc/postfix postfix-2.6.6-8.el6.x86_64
Nessus Network Monitor (Formerly PVS) /opt/pvs/bin/pvs -v PVS 5.2.0 Build ID: 201612081
(C) 2003-2016 Tenable Network Security
Python python -V
python --version
Python 2.7.5
Splunk cat /opt/splunk/README-splunk.txt Splunk 8.2.9
SSH ssh -V OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017
Tenable.sc (SecurityCenter) rpm -qf /etc/default/SecurityCenter SecurityCenter-5.22.0-37.el7.x86_64

Shells


Shell Command Command Output
BASH  bash -version
bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin14)
Copyright (C) 2007 Free Software Foundation, Inc.
sh sh -version GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin14)
Copyright (C) 2007 Free Software Foundation, Inc.
csh echo $version
csh --version
tcsh 6.17.00 (Astron) 2009-07-10 (x86_64-unknown-linux) options wide,nls,dl,al,kan,sm,rh,color,filec
tcsh echo $version
tcsh --version
tcsh 6.17.00 (Astron) 2009-07-10 (x86_64-unknown-linux) options wide,nls,dl,al,kan,sm,rh,color,filec

OS


Shell Command Command Output
Linux lsb_release -r Release:        6.9
RHEL cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.9 (Santiago)
SLES cat /etc/SuSE-release SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 4
Solaris cat /etc/release
Solaris 10 10/09 s10s_u8wos_08a SPARC
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 September 2009


Hardware

Shell Command Command Output
ILOM -> version SP firmware 3.2.1.5.c
SP firmware build number: 83184
SP firmware date: Sun Sep 15 10:00:58 PDT 2013
SP filesystem version: 0.2.7




If you know of any other ways to check the version of a program. Post them below.

No comments:

Post a Comment