1. 程式人生 > >檢視Linux的版本號、位數

檢視Linux的版本號、位數

1.uname命令

  uname -r   Linux發行版本

  uname -a  顯示包括髮行版本、發行時間、機器ID等在內的一系列資訊。

2.檢視Redhat版本

  more /etc/redhat-release 

3.檢視Ubuntu的版本
   cat  /etc/issue
   或者:lsb_release -a

4.檢視Linux是32位還是64位

   getconf  LONG_BIT