查看Linux的版本号

1.uname命令

  uname -r   Linux发行版本

  uname -a  显示包括发行版本、发行时间、机器ID等在内的一系列信息。

2.查看Redhat版本

  more /etc/redhat-release 

3.查看Linux是32位还是64位

   getconf  LONG_BIT


猜你喜欢

转载自blog.csdn.net/colorful_lights/article/details/79676314