linux 查看应用程序版本号

git版本

git --version
git version 1.8.3.1


maven 版本

mvn -v
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-05T03:00:29+08:00)
Maven home: /usr/local/maven/apache-maven-3.6.1
Java version: 1.8.0_161, vendor: Oracle Corporation, runtime: /usr/local/java/jdk1.8.0_161/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-862.el7.x86_64", arch: "amd64", family: "unix"

 

java 版本

java -version


java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)

 

mysql版本

mysql -V


mysql Ver 14.14 Distrib 5.7.22, for Linux (x86_64) using EditLine wrapper

 


ssh 版本

ssh -V

OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

 

python版本


(一台服务器可以安装两个版本python:一般系统自带python2,可自己下个Python-3.5.2.tgz 安装python3)

python -V
Python 2.7.5
python3 -V
Python 3.5.2
 

 

mongodb版本

mongo --version

MongoDB shell version v3.6.9
git version: 167861a164723168adfaaa866f310cb94010428f
OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013
allocator: tcmalloc
modules: none
build environment:
distmod: rhel70
distarch: x86_64
target_arch: x86_64

posted @ 2019-11-07 10:17  哦~杰克  阅读(7825)  评论(0编辑  收藏  举报