几种查看linux版本信息的方法
2012-10-09 10:18
543 查看
几种查看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)
5. Release: 4
6. Codename: NahantUpdate1
7. [root@3.5.5Biz-46 ~]#
这个命令适用于所有的linux,包括Redhat、SuSE、Debian等发行版。
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)
5. Release: 4
6. Codename: NahantUpdate1
7. [root@3.5.5Biz-46 ~]#
这个命令适用于所有的linux,包括Redhat、SuSE、Debian等发行版。
相关文章推荐
- 几种查看linux版本信息的方法
- 几种查看linux版本信息的方法
- 下面介绍几种查看linux版本信息的方法和GCC版本
- 几种查看linux版本信息的方法
- 下面介绍几种查看linux版本信息的方法
- 几种查看linux版本信息的方法
- 下面介绍几种查看linux版本信息的方法
- 查看linux发行版名称和版本信息的几种方法
- 几种查看linux版本信息的方法
- 几种查看linux版本信息的方法
- 几种查看Linux版本信息的方法:
- 几种查看linux版本信息的方法
- 查看Linux版本系统信息方法汇总
- 查看Linux版本系统信息方法汇总
- 查看linux版本号的几种方法
- linux,apache,php,mysql常用的查看版本信息的方法
- 几种查看CentOS版本信息的方法
- Linux,Apache,php,mysql常用的查看版本信息的方法
- 查看Linux版本系统信息方法汇总
- 辛星整理Linux中查看版本信息的若干方法