查看linux版本

查看系统是64位还是32位:

1、getconf LONG_BIT or getconf WORD_BIT

[root@localhost ~]# getconf LONG_BIT

2. 查看linux版本:

  1. 列出所有版本信息

[root@localhost ~]# lsb_release -a

或者

Cat /etc/issue 适用于所有

Cat /etc/redhat-release 适用于redhat

查看内核版本和信息
Uname -a

Cat/proc/version

posted @ 2018-06-22 11:39  QT1  阅读(109)  评论(0编辑  收藏  举报