查看linux系统版本是32位的还是64位的命令

发布时间:2018-09-19 01:50  浏览次数:164

file /sbin/init

/sbin/init:

 ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked

 (uses shared libs), for GNU/Linux 2.6.18, stripped

#显示 64-bit 则为64位系统

file /sbin/init

/sbin/init:

 ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux

 2.2.5, dynamically linked (uses shared libs), stripped

#显示为32 bit 则为32位系统


标签

归档

排行榜

点击领取