Howtodojo logo
  • Home 
  • About 
  • Certifications 
  • Sample Database 
  • Cheatsheet 
  • Glossary 
  • Blog 
  • Tags 
  1.   Linux Commands
  1. Home
  2. Guides
  3. Linux Commands
  4. Linux arch Command

Linux arch Command

Share via
Howtodojo
Link copied to clipboard

In this tutorial we learn how to use arch command in Linux. Arch command will show Linux system / machine platform or architecture.

On this page
What is arch Command in Linux?   arch Syntax   Get Linux Machine architecture / platform with arch command   arch Command Manual / Help   Linux arch Command Source Code   Related Linux Commands   Summary  

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 uname -m.

arch Syntax  

arch [OPTION]...

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 i686.

arch Command Manual / Help  

We can use man and 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 q.

man arch

To open info page for arch command we can use command below.

info arch

To open help page from arch command we can run command below.

arch --help

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:

  • uname command in Linux
  • id command in Linux
  • who command in Linux

Summary  

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.

 Linux false Command
Linux factor Command 
On this page:
What is arch Command in Linux?   arch Syntax   Get Linux Machine architecture / platform with arch command   arch Command Manual / Help   Linux arch Command Source Code   Related Linux Commands   Summary  
Follow me

We publish tutorials, tips and tricks about Linux, open source, cloud computing, and infrastructure

     
Copyright © 2012 - 2025 howtodojo.com. |
Howtodojo
Code copied to clipboard