Telling what version of Ubuntu you are running is extremely easy.
1) Applications -> Accessories -> Terminal
2) Type the following at the prompt:cat /etc/lsb-release
3) It should output something similar to mine, which looks like this:DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.10
DISTRIB_CODENAME=intrepid
DISTRIB_DESCRIPTION="Ubuntu 8.10"
or try another command
cat /etc/issue
result : Ubuntu 8.10 \n \l
Thanks.
ReplyDeleteTo 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.
Another way to know if the installed Ubuntu is of 32 or 64 bits:
ReplyDeletegetconf LONG_BIT
In the command ...
ReplyDeletesudo 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