新聞中心
LINUX查看JDK和Weblogic版本命令
1、首先,連接相應linux主機,進入到linux命令行狀態(tài)下,等待輸入shell指令。
目前創(chuàng)新互聯(lián)已為上千的企業(yè)提供了網(wǎng)站建設、域名、虛擬空間、網(wǎng)站托管、企業(yè)網(wǎng)站設計、金安網(wǎng)站維護等服務,公司將堅持客戶導向、應用為本的策略,正道將秉承"和諧、參與、激情"的文化,與客戶和合作伙伴齊心協(xié)力一起成長,共同發(fā)展。
2、其次,在linux命令行中輸入:echo $JAVA_HOME。
3、按下回車鍵執(zhí)行shell指令,此時會看到jdk的版本是1.6.0。
4、類似的,輸入:WebLogic -version,查詢到WebLogic的版本是9.1。
Linux操作系統(tǒng)版本要怎么查看
Linux操作系統(tǒng)版本要怎么查看
Linux可安裝在各種計算機硬件設備中,比如手機、平板電腦、路由器、視頻游戲控制臺、臺式計算機、大型機和超級計算機。下面是我收集Linux操作系統(tǒng)版本,希望大家認真閱讀!
1. 查看內(nèi)核版本命令:
chen@mylinuxserver:~ cat /proc/version
Linux version 2.6.5-7.244-smp (geeko@buildhost) (gcc version 3.3.3 (SuSE Linux)) #1 SMP Mon Dec 12 18:32:25 UTC 2005
/proc 目錄的'作用?
chen@mylinuxserver:/proc uname -a
Linux mylinuxserver 2.6.5-7.244-smp #1 SMP Mon Dec 12 18:32:25 UTC 2005 i686 i686 i386 GNU/Linux
chen@mylinuxserver:/proc uname -r
2.6.5-7.244-smp
uname命令的作用?
2. 查看Linux版本:
1) 登錄到服務器執(zhí)行 lsb_release -a ,即可列出所有版本信息,例如:
chen@mylinuxserver:/proc lsb_release -a
LSB Version: core-2.0-noarch:core-3.0-noarch:core-2.0-ia32:core-3.0-ia32:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch
Distributor ID: SUSE LINUX
Description: SUSE LINUX Enterprise Server 9 (i586)
Release: 9
Codename: n/a
注:這個命令適用于所有的linux,包括Redhat、SuSE、Debian等發(fā)行版。
2) 登錄到linux執(zhí)行cat /etc/issue,例如如下:
chen@mylinuxserver:/proc cat /etc/issue
Welcome to SUSE LINUX Enterprise Server 9 (i586) - Kernel \r (\l).
3) 登錄到linux執(zhí)行cat /etc/redhat-release ,例如如下:
chen@mylinuxserver:/proc cat /etc/*release*
LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-ia32:core-3.0-ia32"
cat: /etc/lsb-release.d: 是一個目錄
SUSE LINUX Enterprise Server 9 (i586)
VERSION = 9
PATCHLEVEL = 3
;
如何查看linux系統(tǒng)版本
一、查看linux系統(tǒng)發(fā)行版本
命令1:lsb_release -a
該命令適用于所有Linux系統(tǒng),會顯示出完整的版本信息,包括Linux系統(tǒng)的名稱,如Debian、Ubuntu、CentOS等,和對應的版本號,以及該版本的代號,例如在Debian 8中將會顯示代號jessie。
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie
命令2:cat /etc/issue
該命令適用于所有Linux系統(tǒng),顯示的版本信息較為簡略,只有系統(tǒng)名稱和對應版本號。
$ cat /etc/issue
Debian GNU/Linux 8 \n \1
命令3:cat /etc/redhat-release
該命令僅適用于Redhat系列的Linux系統(tǒng),顯示的版本信息也較為簡略。
$ cat /etc/redhat-release
CentOS release 6.0 (Final)
二、查看Linux內(nèi)核版本
命令1:uname -a
$ uname -a
Linux CodeBelief 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8ul (2015-04-24) x86_64 GNU/Linux
命令2:cat /proc/version
$ cat /proc/version
Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt9-3~deb8ul (2.15-04-24)
名稱欄目:linux查看小版本命令 查看linux版本的命令和文件
文章分享:http://www.dlmjj.cn/article/dopcedj.html