You are here: >

Linux and Unix arch command

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

About arch
arch syntax
arch examples
Related commands
Linux and Unix main page

About arch

Display the architecture of the current host.

Description

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]

Options

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

arch 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.

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