What is arch Command in Linux?
In this tutorial we learn how to use arch command in Linux.
arch command is a linux command which will print machine hardware name. This command is similar to
Get Linux Machine architecture / platform with arch command
To use (and the only way to use) arch command is by typing
arch. For example:
$ arch x86_64
In x86 64-bit machine it will print output like above. In 32-bit system it will show
arch Command Manual / Help
We can use
info command to see the manual page of arch command.
arch command also have
--help option to show list of options.
To open man page for arch command we can use command below. To exit man or info page you can press
To open info page for arch command we can use command below.
To open help page from arch command we can run command below.
Linux arch Command Source Code
You can find arch command source code from the folowing repositories:
- arch source code on GitHub
- arch source code on GNU Savannah cgit
- arch source code on GNU Savannah gitweb
Related Linux Commands
You can read tutorials of related Linux commands below:
In this tutorial we learn how to use arch command in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.