Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am using Red Hat Enterprise Linux Server release 5.9 (Tikanga). For installation of any application, it is very important to know the system configuration, is it 32 bit or 64 bit system, Installed OS is 32 bit or 64 bit etc... Is there any command which provides me information about my system configuration just like Windows provide when go to Control Panel\System and Security\System.

Please suggest...

share|improve this question
add comment

2 Answers 2

up vote 8 down vote accepted

Use uname:

uname -i

For more information, see

man uname

If you get x86, it means you have 32 bit Linux OS and if you get x86_64, it means you have 64 bit Linux.

share|improve this answer
    
I got x86_64 when run uname -m;uname-p;uname-i; Does this mean that I have 64 bit system? How can I know that my OS is 64 bit or 32 bit? –  ursitesion Apr 15 at 8:13
    
It means your kernel is 64 bit and in most cases your OS is 64 bit. If you get x86, it means your os is 32 bit. –  enedil Apr 15 at 8:19
    
@usitesion: uname is giving information about your system. So in this case it does mean you have a 64 bit OS –  Ouki Apr 15 at 8:19
    
+1 vote. You deserve it. –  ursitesion Apr 15 at 8:22
    
@ursitesion why you don't accept the answer? –  enedil 2 days ago
show 1 more comment

you can use this command:

cat /etc/issue; cat /proc/cpuinfo ; uname -a
share|improve this answer
4  
I don't really see the point regarding /etc/issue: this is a user level only information message defined by the system admins (ex: legal warning for company servers). –  Ouki Apr 15 at 8:04
    
+1 vote for last two commands. –  ursitesion Apr 15 at 8:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.