Gnu/coreutils/arch-invocation

From Get docs
Revision as of 10:04, 8 December 2020 by Notes (talk | contribs) (autoload)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

21.2 arch: Print machine hardware name

arch prints the machine hardware name, and is equivalent to ‘uname -m’. Synopsis:

arch [option]

The program accepts the Common options only.

arch is not installed by default, so portable scripts should not rely on its existence.

An exit status of zero indicates success, and a nonzero value indicates failure.