On GNU/Linux operating systems, the arch command outputs the architecture identifier string of the current host CPU.
Description
The arch command is the functional equivalent of running the following uname command:
This page describes the arch command. For the operating system, see Arch Linux.
- Description
- Syntax
- Options
- Examples
- Related commands
- Linux commands help
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
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.