可以使用以下命令来查询Linux版本是多少位:

  1. 通过uname命令查询:
uname -m

输出x86_64表示64位,i386表示32位。

  1. 通过file命令查询:
file /sbin/init

输出ELF 64-bit LSB shared object表示64位,ELF 32-bit LSB shared object表示32位。

  1. 通过cat命令查询:
cat /proc/version

输出x86_64表示64位,i386表示32位。

  1. 通过arch命令查询:
arch

输出x86_64表示64位,i686表示32位。

怎么查询linux 版本是多少位

原文地址: https://www.cveoy.top/t/topic/g7qG 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录