arch - display system machine type
arch [ -k ]
arch displays the current system architecture type. It tends to be equivilent to uname -m (except on SunOS platforms, see NOTES).
-k Displays kernel architecture on SunOS platforms.
SunOS tends to differentiate between kernel and system architecture. uname -m will return 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.
Perl version rewritten for the Perl Power Tools project from the description of the arch program in OpenBSD.
Theo Van Dinter (firstname.lastname@example.org)
uname(1) uname(2) machine(1)
To install PerlPowerTools, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.