The Wayback Machine - https://web.archive.org/web/20240905162640/https://www.geeksforgeeks.org/arch-command-in-linux-with-examples/
Open In App

arch command in Linux with examples

Last Updated : 04 Apr, 2019
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

arch command is used to print the computer architecture. Arch command prints things such as “i386, i486, i586, alpha, arm, m68k, mips, sparc, x86_64, etc.

Syntax:

arch [OPTION]

Example:

Options:

  • arch –help : It displays help information.

  • arch –version : It displays version information.


Previous Article
Next Article

Similar Reads

Pacman command in Arch Linux
Pacman is a package manager for the arch Linux and arch-based Linux distributions. If you have used Debian-based OS like ubuntu, then the Pacman is similar to the apt command of Debian-based operating systems. Pacman contains the compressed files as a package format and maintains a text-based package database. Pacman keeps the system up to date by
4 min read
Difference Between Arch Linux and Kali Linux
Arch Linux is an open-source Linux-based Operating System that is freely available for use. It belongs to the Pacman-based Linux family. It is a light weighted OS for daily use and could even be used by professionals. It was first released in March 2002. It is a beginner-friendly Linux Operating System. Features of Arch Linux: Minimalist approach:
4 min read
Ccat – Colorize Cat Command Output command in Linux with Examples
ccat is a command-line tool for Linux and OSX, which is similar to the cat command in Linux. But the difference between cat and ccat is that the ccat shows the content of the file with the syntax highlighted. Currently, ccat supports the following programming languages. JavaScriptJavaRubyPythonGoCJSONInstallation of Ccat First, we are going to see
2 min read
How to install and configure Docker on Arch-based Linux Distributions(Manjaro) ?
In this article, we are going to see how to install and configure Docker on Arch-based Linux Distributions. Docker is an open-source containerization platform used for building, running, and managing applications in an isolated environment. A container is isolated from another and bundles its software, libraries, and configuration files. Containers
2 min read
How to Install Tilix Terminal Emulator in Ubuntu/Fedora/Arch Linux?
A terminal emulator is a software that helps in interacting with the computer machine and perform operations using commands. Tilix is a tiling terminal emulator formerly known as Terminix. It is an enhancement over a regular terminal and provides some important features. Features of Tilix Terminal Emulator: Enable users to split the terminal into d
3 min read
How to Install Syslinux in Arch Linux?
Syslinux is a bootloader for the Linux OS which runs on an MS-DOS/Windows FAT filesystem. It is intended to simplify the first-time installation of Linux, and for the creation of rescue and other special-purpose boot disks. When properly configured, SYSLINUX can be used to completely eliminate the need for the distribution of raw boot floppy images
3 min read
How to Create Bootable USB for Arch Linux?
A bootable USB or live USB is a USB flash drive that contains a bootable operating system. We create these USB flash drives when we wanted to refresh or change our operating system. Let's discuss how we can create a Bootable USB flash drive for Arch Linux. Download the Arch ISO image from the Arch download page. Here, https://archlinux.org/download
2 min read
How to Install Google Chrome in Arch-based Linux Distributions?
Google Chrome is a world-wide very popular browser. Google Chrome is not an open-source project, hence chrome is not preinstalled on Linux systems. The installation of Google Chrome on Linux distributions like Ubuntu is very easy. For Arch Linux and Arch-based distributions, Google Chrome is available on Arch User Repository(AUR). We will install g
3 min read
How to Install Python Anaconda 5 on Arch Linux 2017
Anaconda is a distribution of the Python and R programming language, which simplifies package management and deployment. Package versions in Anaconda are managed by the package management system conda. Mini conda is a small, bootstrap version of Anaconda, which includes only conda, Python, the packages they depend on, and a small number of other pa
2 min read
How to install Visual Studio Code on Arch-based Linux Distributions(Manjaro) ?
Visual Studio Code is free, powerful and one of the most popular IDE in the market. It is a cross-platform application and can be customized heavily by installing various extensions. All the modern programming languages like C, C++, Java, Python, JavaScript, React, Node JS, etc., are all supported by it. Features of VS CodeOpen-sourceIntegrated ter
2 min read
How to install LibreOffice on Arch-based Linux Distributions(Manjaro) ?
In this article, we will see how to install and configure LibreOffice on Arch-based Linux Distributions. LibreOffice is a free open-source office suite that allows users to create and edit documents, spreadsheets, presentations, and databases. It is available in more than 100 languages and is maintained by The Documentation Foundation. It is primar
1 min read
How to install PyCharm IDE on Arch-based Linux Distributions(Manjaro) ?
PyCharm is a cross-platform integrated development environment (IDE) developed by JetBrains, specifically for Python Programming Language. It is one of the most popular Python IDE on the market due to its features like syntax highlighting, auto code completion, profiling inspection, and debugging. It comes with built-in support for Python framework
2 min read
How to install Intellij Idea on Arch-based Linux Distributions(Manjaro) ?
IntelliJ is a cross-platform integrated development environment(IDE) developed by Jetbrains and is available as an Apache 2 Licensed community edition and a commercial edition. It is primarily used for developing computer software written in Java, Kotlin, Groovy, and other JAR-based languages. It is one of the most popular Java IDE on the market du
2 min read
How to install Eclipse IDE on Arch-based Linux Distributions(Manjaro) ?
Eclipse is an open-source and cross-platform integrated development environment(IDE) and is used for developing applications in Java, C/C++, PHP, Python, Ruby, etc. Since 2001, it has been maintained by the Eclipse foundation and primarily written in Java. It is the second most popular Java IDE on the market due to its features like auto code compl
2 min read
How to Install CLion IDE on Arch-based Linux Distributions (Manjaro)
CLion (pronounced “Sea Lion”) is a cross-platform integrated development environment (IDE) developed by Jetbrains and is available as a free community edition for students and a commercial edition. It is used for developing C++ programs and is one of the most popular C++ IDE on the market. A number of features are included in the tool, such as code
2 min read
How to Install WebStorm IDE on Arch-based Linux Distributions (Manjaro)
WebStorm is a cross-platform integrated development environment (IDE) developed by Jetbrains and is available as a free community edition for students and a commercial edition. The WebStorm coding environment supports JavaScript frameworks such as React, Vue, Angular, Express, Meteor, Cordova, and NodeJS. Features of WebStormCross-platformFree comm
2 min read
How to Install mongodb on Arch-based Linux Distributions(Manjaro)
In this article, we are going to see how to install the MongoDB server on Arch-based Linux Distributions. We are going to use the Yay AUR helper, which is one of the many AUR helpers that can be used to install MongoDB or any other AUR package. Installation of MongoDB Step 1: Update and upgrade your system by running $ sudo pacman -Syu Step 2: Befo
2 min read
How to Install and configure MySQL on Arch-based Linux Distributions(Manjaro)
MySQL is an open-source relational database management system developed by Oracle based on structured query language (SQL). It is primarily written in C and C++ programming languages and licensed under the GNU Public License. The client-end API is used to query, filter, sort, group, and modify data stored in the database table in the form of rows a
2 min read
How to Install PostgreSQL on Arch-based Linux Distributions (Manjaro)
PostgreSQL (often called Postgres) is a free, open-source, and advanced relational database management system and is developed by The PostgreSQL Global Development Group. It is primarily written in the C Programming Language. In addition to SQL (relational) querying, Postgres also supports JSON (non-relational) querying. This article is a step-by-s
2 min read
How to Install Mozilla Firefox on Arch-based Linux Distributions(Manjaro)
Firefox is a free, open-source cross-platform web browser developed by Mozilla Corporation. Unlike Chrome, Brave, and Edge which employ the V8 engine, Firefox uses the Gecko rendering engine to implement modern web standards. It is primarily written in C, C++, and Rust programming languages and was first released in 2002. It is available for Androi
2 min read
Install Slack on Arch-based Linux Distributions (Manjaro)
Slack is a proprietary application mainly used for business communication by many multinational corporations. Team members can have discussions through various channels about the responsibilities of a project or task. The platform is owned by Salesforce Inc. and has a userbase of more than 10 million around the world. The Slack application is a fre
2 min read
How to install Brave Browser on Arch-based Linux Distributions(Manjaro) ?
Brave is a free, open-source cross-platform web browser developed and maintained by Brave Software Incorporation. With Brave, you can keep your browsing activity private by automatically disabling website trackers and blocking advertisements. It is built on top of Chromium, which is an open-source version of Google Chrome. It is primarily written i
2 min read
Arch Linux Installation and Configuration on UEFI Machines
Arch Linux is one of the independently developed Linux distros with its community and official package repositories. Arch Linux is known for its minimal base system, configuration flexibility, and bleeding edge software rollouts. Followed the official arch installation guide from the Arch wiki website with a few tweaks that we will do while install
8 min read
How to Install DNSCrypt and Unbound in Arch Linux
A DNS client and a DNS resolver's communications can be encrypted and authenticated using the DNSCrypt protocol. It will prevent man-in-the-middle attacks or DNS spoofing. The majority of operating systems, including Linux, Windows, MacOS, Android, and iOS, support DNSCrypt. Additionally, we are running archlinux with kernel 4.1 for this article. U
3 min read
What is Arch Linux?
Arch Linux stands as evidence of simplicity, customization, and network-pushed innovation in the Linux environment. Embracing the characteristics of "Keep It Simple, Stupid" (KISS), Arch Linux is a minimalist but effective distribution loved using pro Linux enthusiasts. In this article, we are going to discuss every point about Arch Linux its vario
11 min read
How to Install and Remove Packages in Arch Linux
Arch Linux, known for its simplicity, flexibility, and user-centric approach, offers a robust package management system that allows users to easily install, update, and remove software packages. Unlike some other Linux distributions that come pre-packaged with software management tools, Arch Linux follows a minimalist philosophy, providing users wi
5 min read
5 Ways to Take Screenshots on Arch Linux
Taking screenshots is the most common method utilized to collect data when we are browsing the internet. The term "screenshot" may raise questions, so let me address them. A screenshot, also known as a screencap or screengrab, is an image that displays the content of your computer screen. These captures allow you to capture exactly what is on your
5 min read
Install XFCE Desktop on Arch Linux
Lightweight and highly configurable, Arch Linux is a popular Linux distribution that prides itself on its flexibility and simplicity. It provides a basic minimal installation, but users can tailor their systems to suit their requirements. XFCE is a well-liked desktop environment for Arch Linux that is well-known for its effectiveness, ease of use,
5 min read
How to Install Java on Arch Linux?
Java is one of the most popular programming languages. Today, many applications are using Java. Java consists of JRE (Java Runtime Environment) and JDK (Java Development Toolkit). JRE is the  Java Runtime Environment which is provided libraries to run and compile Java programs. JDK provides the compiler(javac) to compile the Java programs and other
3 min read
How to Install Gnome on Arch Linux
Arch Linux is known for its adaptability and moderation, allowing users to create their Linux operating system for specific needs. It is one of the most popular Linux system configurations, providing a clean and easy-to-use interface. assuming you're an arch Linux user hoping to install gnome, follow these moves toward setting up your framework wit
5 min read