← 返回命令列表

Linux command

arch 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Print

arch

说明

arch prints the machine hardware architecture. On Linux this is the GNU coreutils command, equivalent to uname -m. There are no options other than --help and --version. Common outputs include: - x86_64: 64-bit Intel/AMD - aarch64 or arm64: 64-bit ARM - i686 or i386: 32-bit Intel - armv7l: 32-bit ARM - ppc64le: 64-bit PowerPC little-endian - riscv64: 64-bit RISC-V

FAQ

What is the arch command used for?

arch prints the machine hardware architecture. On Linux this is the GNU coreutils command, equivalent to uname -m. There are no options other than --help and --version. Common outputs include: - x86_64: 64-bit Intel/AMD - aarch64 or arm64: 64-bit ARM - i686 or i386: 32-bit Intel - armv7l: 32-bit ARM - ppc64le: 64-bit PowerPC little-endian - riscv64: 64-bit RISC-V

How do I run a basic arch example?

Run `arch` in a terminal, then adjust file names, paths, flags, or remote targets for your system.