Displaying Linux Distro Version and Showing 32Bit or 64Bit OS

Written by

in

,

Checking whether you have 32bit linux or 64bit linux. From the code below we can see that it is a 64 bit linux.


[user1@ubuntu 17:14:37 ~/dev]$ uname -mrs
Linux 3.2.0-30-generic x86_64

Checking which distro you’re using:

[user1@ubuntu 17:14:48 ~/dev]$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *