UNIX is what type of operating system

This tutorial describes how to find out if the operating system of your Linux system 32-bit or 64-bit is . This is useful when you want to download or install an application on your Linux system. As we all know can 64-bit Applications not in one 32-bit Operating system type to be installed. For this reason, it is important to know the type of operating system on your Linux system.

Check if the Linux system is 32-bit or 64-bit

Here are the five easy methods for checking the operating system type of your Linux system. It doesn't matter whether you are using a GUI or a CLI system. The following commands work on almost all Linux operating systems like RHEL, CentOS, Fedora, Debian, Ubuntu, Linux Mint, openSUSE, etc.

1. uname command

The command uname -a indicates the operating system type of your Linux system. This is the universal command and works on almost all Linux / Unix operating systems.

To determine the operating system type of the system, do the following:

$ uname -a Linux tecmint.com 3.13.0-37-generic # 64-Ubuntu SMP Mon 22.09. 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU / Linux

2. dpkg command

The dpkg command also indicates whether your Debian / Ubuntu operating system 32-bit or 64-bit is . This command only works on Debian- and Ubuntu-based distributions and their derivatives.

Open your terminal and do the following:

$ dpkg --print architecture

If you have a 64-bit If you are using the operating system, you will get the following output:


If you have a 32-bit Operating system will use The following issued:


3. getconf command

With the command getconf the system configuration variables are also displayed. Now let me show you how to use the Linux system archives of Command getconf .

$ getconf LONG_BIT 64

See the man pages for more details.

$ man getconf

4. Arch command

The command arch indicates your operating system type. This command is similar to the command uname -m . When the issue x86_64 is a 64-bit operating system. When the issue i686 or i386, it is a 32-bit operating system.

$ arch x86_64

5. file command

The command file with a special argument / sbin / init indicates the operating system type.

$ file / sbin / init / sbin / init: Shared ELF 64-bit LSB object, x86-64, Version 1 (SYSV), dynamically linked (uses shared libraries), for GNU / Linux 2.6.24, BuildID = 7a4c688d009fc1f06ffc692f5f42ab09e68582b2, removed


You now know the ways to find out the type of your Linux operating system. Of course, there are few other ways to find out the type of operating system, but these are the methods so far often and pragmatic. If you know of any other commands or methods to display the operating system type, please let us know in the comments section below.