- 内核版本
cat /proc/version
uname -a
uname -r
- linux版本信息
lsb_release -a
cat /etc/issue
- linux是64还是32
getconf LONG_BIT
file /bin/ls
- 直接查看系统架构
dpkg --print-architecture
arch
file /lib/systemd/systemd
注意 x86是intel开发的一种32位指令集 x84_64是CPU迈向64位的时候 x86_64是一种64位的指令集,x86_64是x86指令的超集,在x86上可以运行的程序,在x86_64上也可以运行,x86_64是AMD发明的,也叫AMD64