Linux arch command

Updated: 06/16/2017 by Computer Hope

Note: This page describes the arch command. For the operating system, see Arch Linux.

About arch

Display the architecture of the current host.


The arch command is the functional equivalent of running the following uname command:

uname -m

On current Linux systems, arch output includes such architectures as "i386", "i486", "i586", "alpha", "sparc", "arm", "m68k", "mips", "ppc".

arch syntax

arch [OPTION]


--help Display a help message, and exit.
--version Output version information, and exit.

arch examples


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.

mach — Display the processor of the current system.
uname — Print information about the current system.