Hello! 欢迎来到小浪云!


云服务器查询linux centos 32位还是64位



香港云服务器查看centos内核的版本:cat /proc/version

2. 查看linux版本:

列出所有版本信息,lsb_release -a

注:这个命令适用于所有的Linux,包括Redhat、SuSE、Debian等发行版。

执行cat /etc/issue,例如如下:

执行cat /etc/redhat-release ,例如如下:

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

1、getconf LONG_BIT or getconf WORD_BIT

2、file /bin/ls

3、lsb_release -a

相关阅读