Tag Archives: shell

How to tell if your Computer is 64 bit?

64bit

Modern computers are all 64bit. Barring a few netbooks. But if you have an older system like a Pentium 4 or even Core2Duo or equivalent, you might have a 64bit system. Majority of those were 32bits but some were built for 64bit architecture.

If you want to find out if your PC/laptop is 32bit or 64 bit, do the following in Ubuntu:

  • Start a command line Terminal
  • Type the following command:

lscpu

Share Button

Geek Speak – Finding your Linux Version

Ever wonder what version of Linux is installed on your desktop. Here is how to find out:

At command line, type the following

~$ cat /etc/issue

In my case I get the following result:

Ubuntu 8.04.2 \n \l

Hence, my desktop is running Ubuntu 8.04.02

Alternatively you can also type the following:

~$ cat /etc/lsb-release

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION=”Ubuntu 8.04.2″

In case if you are running one of Debian releases, you can find out the Debian version on your system by typing:

~$ cat /etc/debian_release

lenny/sid

To find out the Linux kernel on your system, type the following:

~$ uname -r

2.6.24-23-generic

So now you can track the version of your Linux even during automatic upgrades.

Share Button