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
Java java -version
java -fullversion
rpm -qa | grep '(jre | jdk)'
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b31)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b31, mixed mode)
Firefox firefox -v
firefox -version
Mozilla Firefox 52.1.0
OpenSSL openssl version
openssl version -a
OpenSSL 1.0.1e-fips 11 Feb 2013
SSH ssh -V OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013
Apache HTTP httpd -v
httpd -M - for modules
more detail
data0
Apache Tomcat sh version.sh
svcs -lp tomcat (Solaris)
data0
Perl perl -v
perl -version
This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi
NetBackup cat /usr/openv/netbackup/version HARDWARE SOLARIS
VERSION NetBackup 7.7.2
RELEASEDATE Mon Jan 11 17:03:15 CST 2016
BUILDNUMBER 20160111
Ipmitool ipmitool -V data0
Postfix rpm -qf /etc/postfix postfix-2.6.6-8.el6.x86_64
Splunk cat /opt/splunk/README-splunk.txt Splunk 6.5.2
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
Nessus  /opt/nessus/bin/nasl -v nasl (Nessus) 6.10.5 [build M20090]
Copyright (C) 1998 - 2016 Tenable Network Security, Inc
PVS /opt/pvs/bin/pvs -v PVS 5.2.0 Build ID: 201612081
(C) 2003-2016 Tenable Network Security


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
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
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


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