Arch

From LQWiki
Jump to navigation Jump to search

The arch command displays your computer's architecture. It outputs the same information as uname -m.

Availability

arch is not enabled by default when compiling the GNU Coreutils, so it is sometimes missing on distributions, such as Arch Linux. As the mentioned uname command is available on nearly every Unix-like system, you should use it instead.

Usage

The command has no unique options and only incorporates the common options available in all GNU programs.

Here is an example of arch's output on an AMD64 computer:

x86_64

See Also