用命令查询系统是32位还是64位 getconf LONG_BIT or getconf WORD_BIT 例如: [root@sy02 /]# getconf LONG_BIT 64 2.file command 例如: [root@sy02 /]# file /bin/ls /bin/ls: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), stripped 查看linux的版本主要有三种方法: 1) 登录到服务器执行 lsb_release -a ,即可列出所有版本信息,例如: [root@3.5...
by emailwht - Linux文档专区 - 2008-10-24 08:52:25 阅读(6008) 回复(0)
1. 查看内核版本命令: 1) [root@q1test01 ~]# cat /proc/version Linux version 2.6.9-22.ELsmp (bhcompile@crowe.devel.redhat.com) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Mon Sep 19 18:00:54 EDT 2005 2) [root@q1test01 ~]# uname -a Linux q1test01 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:00:54 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux 3) [root@q1test01 ~]# uname -r 2...
作者:lg 来自:www.china-lg.com 几种查看linux版本信息的方法: 1. uname -a 2. cat /proc/version 3. cat /etc/issue 4. lsb_release -a 详解 lsb_release -a 登录到服务器执行 lsb_release -a ,即可列出所有版本信息,例如: [y.com@localhost ~]# lsb_release -a LSB Version: :core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch Distributor ID: RedHatEnterpriseAS Description: Red H...
LINUX查看系统版本信息的命令 几种查看linux版本信息的方法: 1. uname -a 2. cat /proc/version 3. cat /etc/issue 4. lsb_release -a 详解 lsb_release -a 登录到服务器执行 lsb_release -a ,即可列出所有版本信息,例如: 1. [ [email=root@3.5.5Biz]root@3.5.5Biz[/email] -46 ~]# lsb_release -a 2. LSB Version: 1.3 3. Distributor ID: RedHatEnterpriseAS 4. Description: Red Hat Enterprise Linux AS releas...
几种查看linux版本信息的方法: 1. uname -a 2. cat /proc/version 3. cat /etc/issue 4. lsb_release -a 详解 lsb_release -a 登录到服务器执行 lsb_release -a ,即可列出所有版本信息,例如: 1. [ [email=root@3.5.5Biz]root@3.5.5Biz[/email] -46 ~]# lsb_release -a 2. LSB Version: 1.3 3. Distributor ID: RedHatEnterpriseAS 4. Description: Red Hat Enterprise Linux AS release 4 (Nahant Update 1) 5. R...
[LINUX]查看系统版本信息的命令 几种查看linux版本信息的方法: 1. uname -a 2. cat /proc/version 3. cat /etc/issue 4. lsb_release -a 详解 lsb_release -a 登录到服务器执行 lsb_release -a ,即可列出所有版本信息,例如: 1. [ [email=root@3.5.5Biz]root@3.5.5Biz[/email] -46 ~]# lsb_release -a 2. LSB Version: 1.3 3. Distributor ID: RedHatEnterpriseAS 4. Description: Red Hat Enterprise Linux AS relea...
1:在终端下:mysql -V。 以下是代码片段:
[shengting@login ~]$ mysql -V
mysql Ver 14.7 Distrib 4.1.10a, for redhat-linux-gnu (i686)
2:在mysql中:mysql> status;
以下是代码片段:
mysql> status;
--------------
mysql Ver 14.7 Distrib 4.1.10a, for re...
可以通过以下命令查看版本号: 1. cat /etc/redhat-release #这是属于redhat系列里专有的一个文件,debian则是/etc/debian_version 2. uname -a 3. cat /etc/issue #说明:这条指令可以查看Linux属于哪个distribution,maybe Debian、RHEL or others。 4. cat /proc/version(好像这个全一些) 5. lsb_release -a [root@localhost ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.2 (Tikanga) [root@loca...
1,查看内核版本命令: cat /proc/version uname -a uname -rcat /etc/issue man uname 2,查看linux版本:抄录如下: 1) 登录到服务器执行 lsb_release -a ,即可列出所有版本信息,例如: [root@3.5.5Biz-46 ~]# lsb_release -a LSB Version: 1.3 Distributor ID: RedHatEnterpriseAS Descrīption: Red Hat Enterprise Linux AS release 4 (Nahant Update 1) Release: 4 Codename: NahantUpdate1 [roo...
几种查看Linux版本信息的方法: 1. uname -a 2. cat /proc/version 3. cat /etc/issue 4. lsb_release -a 详解 lsb_release -a 登录到服务器执行 lsb_release -a ,即可列出所有版本信息,例如: 1. [[email]root@3.5.5Biz[/email]-46 ~]# lsb_release -a 2. LSB Version: 1.3 3. Distributor ID: RedHatEnterpriseAS 4. Description: Red Hat Enterprise Linux AS release 4 (Nahant Update 1) 5. Release: 4 6. Code...
6 来源:赛迪网 作者:兔儿岭 几种查看Linux版本信息的方法: 1. uname -a 2. cat /proc/version 3. cat /etc/issue 4. lsb_release -a 详解 lsb_release -a 登录到服务器执行 lsb_release -a ,即可列出所有版本信息,例如: 1. [root@3.5.5Biz-46 ~]# lsb_release -a 2. LSB Version: 1.3 3. Distributor ID: RedHatEnterpriseAS 4. Description: Red Hat Enterprise Linux AS release 4 (Nahant Update 1) ...