TrumanWong

arch

Displays the hardware architecture type of the current host

Summary

arch [OPTION]...

The main purpose

  • Print machine architecture information; arch command output results include: i386, i486, i586, alpha, sparc, arm, m68k, mips, ppc, i686, etc.

Options

--help Display help information and exit.
--version Display version information and exit.

example

[root@localhost ~]# arch
x86_64

Notice

  1. This command is equivalent to uname -m.

  2. This command is a command in the GNU coreutils package. For related help information, please see man -s 1 arch, info coreutils 'arch invocation'.