How can I know my linux os is 32 bit or 64 bit?
and How can i know my CPU is 32 bit or 64 bit in linux
machine environment.?
Answers were Sorted based on User's Feedback
Answer / sachinmali17
To get a clear idea about you OS (32bit or 64bit)
you can use following command,
root@ganesh ~]# file /usr/bin/file
/usr/bin/file: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
[root@ganesh ~]#
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / rajeev
#uname -a
we get the information about os
and Regarding CPU
#grep flags /proc/cpuinfo
if cpu is in
Long mode - 64 bit CPU
Real mode 16 bit CPU
Protected Mode is 32-bit CPU
| Is This Answer Correct ? | 7 Yes | 6 No |
Answer / ganeshkaliyappan
/etc/issuse or uname -a (i)
cpu info
cat /proc/cpuinfo
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / mahesh gantayat
Os bit= uname -a or uname -m
Cpu bit= getconf WORD_BIT
| Is This Answer Correct ? | 0 Yes | 0 No |
Did you ever write any inerface files / profile file to support unix environment setup ?
How can I type in cmd?
If the programmer wishes to execute an instruction at the specified time. Which command is used?
What is the pwd command?
What are bash scripts used for?
What is the purpose of the "top" command?
Write a command that will display all .txt files, including its individual permission.
What command can you use to make a tape archive file of a /home directory and send it to the /dev/tape device?
Which command is used to clear the screen?
what is initrd image?
Who am I command in linux?
How do I find my user id in linux?