第一种:使用arch 第二种:使用uname -m 第三种:使用file /bin/bash 如果显示的内容里包含关键词x86-64就表明使用的是x86-64结构,包含关键词aarch64或者ARM表明使用的是arm架构