LinuxQuestions.org
Review your favorite Linux distribution.
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 02-14-2007, 06:57 AM   #1
johnpaulodonnell
Member
 
Registered: Jun 2006
Location: Galway
Distribution: Suse 10.1
Posts: 114

Rep: Reputation: 15
32 or 64 bit system?


Hi.

I'm sshing into another linux machine to compile some stuff...but I'll need to know whether it's a 32 or 64-bit system. Can someone help me out with the command that will tell me?

Thanks.
 
Old 02-14-2007, 07:02 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Try
Code:
uname -a
The output on a 32 bit machine should be something similar to
Code:
Linux hostname 2.6.18-1.2257.fc5 #1 Fri Dec 15 16:06:24 EST 2006 i686 i686 i386 GNU/Linux
The output on a 64 bit machine should be similar to
Code:
Linux hostname 2.6.19-1.2895.fc6 #1 SMP Wed Jan 10 18:50:56 EST 2007 x86_64 x86_64 x86_64 GNU/Linux
Note the i686 on 32 bit and x86_64 on 64bit! For a shorter output you can do simply
Code:
uname -p

Last edited by colucix; 02-14-2007 at 07:04 AM.
 
Old 02-14-2007, 07:06 AM   #3
johnpaulodonnell
Member
 
Registered: Jun 2006
Location: Galway
Distribution: Suse 10.1
Posts: 114

Original Poster
Rep: Reputation: 15
Thanks for your help!
 
  


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
JDK 1.6.0 32-bit and 64-bit on Same System (FC6)? sancho Fedora 3 01-23-2007 06:20 AM
no sound in 32 bit chroot on 64 bit system <solved> otchie1 Linux - Software 0 11-28-2006 05:03 PM
32 bit thunderbird/firefox on 64 bit system true_atlantis Fedora 6 07-19-2006 09:37 AM
Getting Konqueror to load 32 bit plugins on a 64 bit system slantoflight Linux - Software 1 05-28-2006 05:17 PM
LXer: 32-bit browsing in a 64-bit system LXer Syndicated Linux News 1 05-26-2006 10:44 PM

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

All times are GMT -5. The time now is 06:50 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
Open Source Consulting | Domain Registration