Friday, December 26, 2014

How to find out Lubuntu 32 bit or 64 bit?

Okay, in this article i'm going to show you how to find out about lubuntu/ubuntu operating system type, whether it's 32 bit or 64 bit. 

Many people asking me about this, so i guess i make a post here to help other people with same problem.

There are few ways to find out about 32 bit or 64 bit on linux, and it's actually very simple.

1. using uname command
uname command can be use to show whether you have 64 bit or 32 bit linux, there are few combination for this command :

uname -a 
uname -m
uname -a | grep x86_64
(if no result that means you are running 32 bit linux)

uname -a | grep i686
(if no result that means you are running 64 bit linux)

2. using getconf command
you can also use getconf command and immediately get result whether it's 64 bit or 32 bit, like this :

getconf LONG_BIT

3. using /sbin/init
the /sbin/init also useful for showing operating system bit type (32 or 64 bit), use it like this :
file /sbin/init
file /sbin/init | grep 64

file /sbin/init | grep x86_64
file /sbin/init | grep i686

4. using dpkg command
the dpkg command also capable of show operating system bit number, simply type this :
dpkg  --print-architecture

NOTE :
  1. x86_64 means 64 bit
  2. i686, i586, i486, i386, i286 means 32 bit
If you know more commands about how to show 32 bit or 64 bit on lubuntu/ubuntu, please comment down below.

No comments:

Post a Comment