LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-01-2008, 12:45 AM   #1
Farough
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
Cant See My OS Version 32/64 bit


Hello All,
Could any one like to tell me that how can i see my OS Version. i have already used the /etc/redhat-release but its not completely showing that whether its 32-64 bit i wanna know abt the version not the distro.
BTW i am using Linux AS 5 just want to see whether it's 32 or 64 bit.

Regards
 
Old 08-01-2008, 12:54 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

From the cli the 'uname -r' is release, 'uname -v' is version.
 
Old 08-01-2008, 12:55 AM   #3
allez
Member
 
Registered: Jul 2008
Location: Russia/Siberia/Krasnoyarsk
Distribution: SuSE, CentOS, FreeBSD
Posts: 77

Rep: Reputation: 21
Run uname -i from console to know hardware platform of your system. 'i*86' means 32 bit.

Last edited by allez; 08-01-2008 at 01:03 AM.
 
Old 08-01-2008, 01:03 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,
Quote:
Originally Posted by allez View Post
Run uname -i from console.
The '-i' option is for platform. If you want the cpuinfo then do a 'cat /proc/cpuinfo' to show that information.
 
Old 08-01-2008, 01:09 AM   #5
Farough
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Got It. Thnx Pals
 
Old 08-01-2008, 01:21 AM   #6
allez
Member
 
Registered: Jul 2008
Location: Russia/Siberia/Krasnoyarsk
Distribution: SuSE, CentOS, FreeBSD
Posts: 77

Rep: Reputation: 21
Deleted post.

Last edited by allez; 08-01-2008 at 01:22 AM.
 
Old 08-01-2008, 07:08 AM   #7
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by onebuck View Post
The '-i' option is for platform. If you want the cpuinfo then do a 'cat /proc/cpuinfo' to show that information.
That answer may confuse anyone who needed to ask the original question.

'cat /proc/cpuinfo' contains info that tells you whether your CPU is 32bit or 64bit. That doesn't tell you whether the copy of Linux you are running is 32bit or 64bit.

I always use 'uname -a' to determine whether Linux is 32bit or 64bit (I use remote access to a few different Linux systems and forget which is which). But there are many other possible commands that could give the same info.
 
Old 08-01-2008, 12:41 PM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,
Quote:
Originally Posted by johnsfine View Post
That answer may confuse anyone who needed to ask the original question.

'cat /proc/cpuinfo' contains info that tells you whether your CPU is 32bit or 64bit. That doesn't tell you whether the copy of Linux you are running is 32bit or 64bit.

I always use 'uname -a' to determine whether Linux is 32bit or 64bit (I use remote access to a few different Linux systems and forget which is which). But there are many other possible commands that could give the same info.
What's confusing about the answer? The 'uname -i' option does present platform information and the 'cat /proc/cpuinfo presents the processor information. Plain and simple.

edit: the OP wanted the version information originally.

Last edited by onebuck; 08-01-2008 at 12:43 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I upgrade to a 64 bit version if I'm currently working on a 32 bit one? algogeek Linux - Software 20 06-26-2008 07:26 PM
10.3 32 Bit Realtek HD Audio Fixed - but will 64 bit version work 1kyle SUSE / openSUSE 1 06-26-2008 05:36 PM
Can you dist upgrade a 32 bit version of debian to 64 bit? Zaskar Debian 1 03-06-2008 09:50 PM
How does the 64 bit version handle interacting with 32 bit programs? purelithium Mandriva 1 11-13-2005 05:16 PM
Which version of 32 bit redhat will install on IBM xSeries 366 (64 bit)? Hello123 Linux - Hardware 2 09-14-2005 05:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration