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
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
Related Posts:
- Practice Programming MCQs
- Check Linux Books
- Apply for Programming Internship
- Check Information Technology Books