Arch: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
* [[Multi-Architecture_Container_Images#How_to_Tell_the_Architecture_from_Inside_the_Container|Multi-Arch Container Images]]
* [[Multi-Architecture_Container_Images#How_to_Tell_the_Architecture_from_Inside_the_Container|Multi-Arch Container Images]]
* [[Machine Architecture]]
* [[Machine Architecture]]
* [[Executable Format]]


=Overview=
=Overview=
Line 15: Line 16:
"aarch64" for ARM 64
"aarch64" for ARM 64
"x86_64" for x86
"x86_64" for x86
The result should be the same as for:
<syntaxhighlight lang='bash'>
uname -m
</syntaxhighlight>

Latest revision as of 01:36, 9 December 2023

Internal

Overview

Tool to tell the hardware architecture.

arch

Returns:

"aarch64" for ARM 64 "x86_64" for x86

The result should be the same as for:

uname -m