Report issue Add example

arch

Display the hardware architecture type of the current host

Summary

arch [OPTION]...

Main Purpose

Options

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

Examples

[root@localhost ~]# arch
x86_64

Note

  1. This command is equivalent to uname -m.

  2. This command is part of the GNU coreutils package. For related help information, please refer to man -s 1 arch or info coreutils 'arch invocation'.