arch command

(print machine architecture)

The arch command will print the type of computer you are using.

> arch
i686
>

Line 1 shows the command arch
Line 2 is the output of the arch command telling us this computer is a i686 based machine
Line 3 is the prompt again

On current Linux systems, arch prints things such as "i386, i486, i586, alpha, sparc, arm, m68k, mips, or ppc.

Back to command index