jump to navigation

How to find out the version of Ubuntu installed September 19, 2005

Posted by Carthik in commands, ubuntu.

Use the command:
$cat /etc/issue

The file /etc/issue holds the version of Ubuntu installed on your system — Useful command for those who forget (if such a thing is possible), and for those who help or support others, and want to find out what version is installed.

That’s all for now!


1. Joe - September 20, 2005


2. unknown - March 17, 2006

Check this one out:

$ lsb_release -a

3. Jon Gibbins - December 4, 2007

Excellent, thank you.

4. Ravi - July 10, 2008

How to check that the installed ubuntu is a 32 bit or 64 bit one?

5. TH - July 26, 2008

check the “about”-box in firefox…

6. Wildanjel - August 11, 2008

less /etc/lsb-release

7. online twenty one cheat - November 9, 2008

online twenty one cheat…

cooperatives reorganizations rudder imperatives pads spectral …

8. yuvilio - January 18, 2009

Ravi: uname -a

if it’s 64 you’ll see the number like “x86_64” in the string

9. DL@UBUTU - April 28, 2009

if I sue upgrade manager to upgrade from 8.10 64bit to 9.04 – will it pick up the 64bit version? The process does not ask which version wil it upgrade and I would lIke to stay with the 64bit .

Thank you for you help

10. JR - February 24, 2010

8.04 works great. very stable even in WUBI
9.04 works great.
9.10 does not support internal floppy, and cd dvd will become unusable over time. Do not recommend this version at all.
both 9.04 and 8.04 lts work a lot better.
8.10 not so good on java.
better to stick with 8.04 as rumor has it 10.04 has the same weakness on hardware as 9.10.
8.04 LTS is excellent. 9.04 excellent. 9.10 poor 8.10 weak

11. Michael - April 3, 2010

How early do you start holiday shopping?

12. Ranjan - May 20, 2010

uname –help will give you the options to find out many things related to machine information.


13. seks izle - September 29, 2010

Check this one out:

14. Kasolwer - May 6, 2011

To know if the installed Ubuntu is of 32 or 64 bits:
uname -m
If it shows i686 or i386 it means 32 bits.
If it shows x86_64 it means 64 bits.

If the CPU is of 32 bits Ubuntu must be of 32 bits.
If the CPU is of 64 bits it can work in 64 or 32 bits. So we can choose: Ubuntu can be of 32 bits or of 64 bits.

To know if the CPU is of 32 or 64 bits:
a) grep -w lm /proc/cpuinfo
If we see lm in red is of 64 bits. Otherwise is of 32 bits.
b) sudo lshw | grep “description: CPU” -A 12 | grep width
It says clearly what we want to know.

15. Kasolwer - May 6, 2011

Another way to know if the installed Ubuntu is of 32 or 64 bits:
getconf LONG_BIT

16. Balopas - June 3, 2011

In the command …
sudo lshw | grep “description: CPU” -A 12 | grep width
… the quotation marks have to be vertical so it works.

Probably they have been converted again in typographic ones. I hope they appear well now (I’m using the HTML code for them: ampersand number sign 34 semicolon):
sudo lshw | grep "description: CPU" -A 12 | grep width

17. Joasdju - May 31, 2013

Thanks. A command for both informations here:

We can also run …
… and have a look just to the first 2 lines of the output:
“Architecture” informs about the installed Linux version: “i686” represents one of 32 bits, while “x86_64” stands for a 64 bits one.
“CPU op-mode(s)” informs about the CPU. “32-bit” represents one of 32 bits, while “32-bit, 64-bit” or “64-bit” stands for a 64 bits one.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: