arch - print machine hardware name (same as uname -m)
Display the architecture of the current host
|--help||display this help and exit|
|--version||output version information and exit|
Displays the architecture of the current host. For example, arch may display 'sun4' for a Sun Solaris machine or 'x86_64' for the x86 64-bit architecture.
Similarly uname -m gives the same output
For a Sun solaris machione the output of arch will be "sun4"
To check output version information.
arch (GNU coreutils) 8.21
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by David MacKenzie and Karel Zak.
Note-: (arch output includes such architectures as "i386", "i486", "i586", "alpha", "sparc", "arm", "m68k", "mips", "ppc")