arch Command in Linux

This tutorial explains Linux “arch” command, options and its usage with examples.

arch – Display the architecture of the current host.

DESCRIPTION

arch is equivalent to uname -m.

On current Linux systems, arch output includes such architectures as “i386”, “i486”, “i586”, “alpha”, “sparc”, “arm”, “m68k”, “mips”, “ppc”.

SYNTAX

arch [OPTION]
OPTIONS

–help
display help and exit

advertisement

–version
output version information and exit

EXAMPLE

$ arch
x86_64

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.

Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

Sanfoundry Global Education & Learning Series – 1000 Linux Tutorials.

If you wish to look at all Linux commands and their usage examples, go to Linux Commands Tutorial.

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.