ARCH(1)
π₯οΈ ARCH(1) β arch: display system machine type β¨
Okay bestie, welcome to ARCH(1) from the User Contributed Perl Documentation. This is the manual page for arch, and it's lowkey iconic for how tiny it is. No cap. π
β¨ NAME β¨
arch β display system machine type. That's the whole vibe: it tells you the current system architecture type. π«Ά
πΈ SYNOPSIS πΈ
arch [ "-k" ]
π DESCRIPTION π
arch displays the current system architecture type. It tends to be equivalent to uname -m β except on SunOS platforms, where you gotta check the NOTES section. π
π OPTIONS π
-kβ displays the kernel architecture on SunOS platforms. That's it. One option. She's minimal. π
π¦ NOTES π¦
SunOS tends to differentiate between kernel and system architecture, bestie. uname -m will return the kernel architecture. System architecture is the same information except it doesn't include the trailing alpha chars. I.e.:
sun4m(kernel) =sun4(system)sun3x=sun3- etc., etc.
So yeah, on SunOS those trailing letters are giving "extra" and the system architecture is the trimmed version. βοΈ
π HISTORY π
This Perl version was rewritten for the Perl Power Tools project from the description of the arch program in OpenBSD. Periodt. π
π AUTHOR π
Theo Van Dinter (felicity@kluge.net). Iconic. π
π₯ SEE ALSO π₯
π«Ά This isARCH(1), brought to you byperl v5.42.2, dated2026-02-15. Slay. π
π¦ where this page comes from
- alpine 3.24: perl-power-tools-doc 1.053-r1 Β· GPL-2.0-or-later AND Artistic-1.0-Perl AND Artistic-2.0 AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms