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

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

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

Checking which distro you’re using:

1
2
3
4
5
6
[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
This entry was posted in Linux, Operating System. Bookmark the permalink.

Leave a Reply

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


3 + nine =