LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 05-04-2010, 03:21 AM   #1
avee137
Member
 
Registered: Apr 2010
Location: bangalore,india
Distribution: ubuntu 9.10,CentOS 5
Posts: 120

Rep: Reputation: 16
whether installed OS is 32 bit or 64 bit version?


How can we know that installed version of ubuntu9.10 is 32 bit or 64 bit version?
 
Old 05-04-2010, 03:25 AM   #2
pkhera_2001
Member
 
Registered: Mar 2006
Location: New Delhi, India
Distribution: Fedora, CentOS, RHEL, Ubuntu
Posts: 67

Rep: Reputation: 18
Hi!

Check manpage for uname command or google for uname -a

Thanks
 
Old 05-04-2010, 03:41 AM   #3
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,243

Rep: Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684
Or you could just look at the iso you used, generally has a 64 somewhere in it for 64bit.
 
Old 05-04-2010, 03:46 AM   #4
avee137
Member
 
Registered: Apr 2010
Location: bangalore,india
Distribution: ubuntu 9.10,CentOS 5
Posts: 120

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by pkhera_2001 View Post
Hi!

Check manpage for uname command or google for uname -a

Thanks
I tried with all relevant options with uname but i dint get bit info of OS!Is there any other way out?
 
Old 05-04-2010, 03:54 AM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Is there an /etc/*version* or /etc/*release* file with the information (here "*" means any character).?
 
Old 05-04-2010, 04:03 AM   #6
avee137
Member
 
Registered: Apr 2010
Location: bangalore,india
Distribution: ubuntu 9.10,CentOS 5
Posts: 120

Original Poster
Rep: Reputation: 16
yeah i gt a dir name debian_version but it doesn't include wat m lookin for!
 
Old 05-04-2010, 04:06 AM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
Quote:
Originally Posted by avee137 View Post
I tried with all relevant options with uname but i dint get bit info of OS!Is there any other way out?
So, what was the output like?

If it doesn't have an x86_64 in the middle somewhere then you are probably using x86 (i386, 686 or whatever variant which means 32 bits).
 
Old 05-04-2010, 05:49 AM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Try this:
Code:
bash-3.1$ uname -m
x86_64
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
stupid q: how to determine version 64-bit or 32-bit? noknow Linux - Software 29 09-28-2012 05:53 AM
10.3 32 Bit Realtek HD Audio Fixed - but will 64 bit version work 1kyle SUSE / openSUSE 1 06-26-2008 06:36 PM
Can you dist upgrade a 32 bit version of debian to 64 bit? Zaskar Debian 1 03-06-2008 10:50 PM
How does the 64 bit version handle interacting with 32 bit programs? purelithium Mandriva 1 11-13-2005 06:16 PM
Which version of 32 bit redhat will install on IBM xSeries 366 (64 bit)? Hello123 Linux - Hardware 2 09-14-2005 06:50 AM


All times are GMT -5. The time now is 08:41 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration