Linux arch command
Updated: 11/06/2021 by Computer Hope
On GNU/Linux operating systems, the arch command outputs the architecture identifier string of the current host CPU.
Note
This page describes the arch command. For the operating system, see Arch Linux.
Description
The arch command is the functional equivalent of running the following uname command:
uname -m
The output is an architecture identifier strings, such as i386, i486, i586, i686, x86_64, alpha, sparc, arm, m68k, mips, or ppc.
Syntax
arch [OPTION]
Options
--help | Display a help message, and exit. |
--version | Output version information, and exit. |
Examples
arch
Displays the architecture of the current host. For example, arch may display 'sun4' for a Sun Solaris machine or 'x86_64' for the x86 64-bit architecture.
Related commands
mach — Display the processor of the current system.
uname — Print information about the current system.