Check Linux System Architecture: Quick Guide

To check the architecture of a Linux system, you can use the following command:

  1. The “uname” command is used to print relevant information about the current system, including the system architecture.
uname -m

Possible output options may include x86_64, i686, arm, etc.

  1. Arch command: This command is used to display the architecture of the current system.
arch

Possible outputs may include x86_64, i686, arm, and so on.

  1. File command: this command is used to identify the type of a file. By determining the type of a binary file, one can understand the system architecture.
file /bin/ls

Example output could consist of ELF 64-bit LSB executables.

You can obtain architecture information of a Linux system using the above command.

bannerAds