Linux and Unix arch command
Quick links
About arch
Syntax
Examples
Related commands
Linux and Unix main page
Display the architecture of the current host.
arch [-k | archname ]
| -k | Display the kernel architecture, such as sun4m, sun4c, and so forth. This defines which specific SunOS kernel will run on the machine, and has implications only for programs that depend on the kernel explicitly (for example, ps). |
| archname | Use archname to determine whether the application binaries for this application architecture can run on the current host system. The archname must be a valid application architecture, such as sun4, i86pc, and so forth. |
arch
Display the architecture of the host currently connected to. For example, may display 'sun4' for a Sun Solaris box or more commonly will display 'x86_64' for the x86 64-bit architecture.
