Linux命令:arch

显示当前主机的硬件架构类型

2024-12-31 17:39:16

命令行command

概要

arch [OPTION]...

主要用途

  • 打印机器架构信息;arch 命令输出结果有:i386、i486、i586、alpha、sparc、arm、m68k、mips、ppc、i686等。

选项

--help       显示帮助信息并退出。
--version    显示版本信息并退出。

例子

[root@localhost ~]# arch
x86_64

注意

  1. 该命令等价于 uname -m
  2. 该命令是GNU coreutils包中的命令,相关的帮助信息请查看man -s 1 archinfo coreutils 'arch invocation'

评论

静谧以待,您的评论将是点睛之笔

撰写首个评论,启程你的前端奇妙之旅

is a Wiki for programming enthusiasts and professionals, organizing knowledge on programming.

Connect With Me

I have a fair amount of knowledge of Javascript, Typescript, VueJs, and Nuxt. If you have an interesting idea, either open source or paid let's connect.

Sent Mail
© 2024-2025 © . All rights reserved.