Determining whether a given Linux is 32 bit or 64 bit

0 votes

So, I typed uname -a, it gave the following output.

Linux mars 2.6.9-67.0.15.ELsmp #1 SMP Tue Apr 22 13:50:33 EDT 2008 i686 i686 i386 GNU/Linux

How should I determine if the given OS is 32 or 64 bit?

May 21 in Linux Administration by Shubham
• 13,350 points
30 views

1 answer to this question.

0 votes

try this.

getconf LONG_BIT

Output:

  • 32, if OS is 32 bit
  • 64, if OS is 64 bit
answered May 21 by Upasana
• 8,550 points

Related Questions In Linux Administration

0 votes
1 answer

Linux: Efficiently test if a port is Open

$ nc -z <host> <port>; echo $? Use ...READ MORE

answered Jun 12 in Linux Administration by Shubham
• 13,350 points
40 views
0 votes
1 answer

How to create a symlink in Linux?

To create a symbolic link, you can ...READ MORE

answered Jan 31 in Linux Administration by Omkar
• 68,180 points
79 views
0 votes
1 answer

Linux: Killing a process occupying a particular port

Use the port command to find the ...READ MORE

answered Apr 3 in Linux Administration by DareDev
• 6,810 points
51 views
0 votes
1 answer

To run a shell script on a Unix console or Mac terminal

To run a non-executable sh script, use: sh myscript To run ...READ MORE

answered May 16 in Linux Administration by Upasana
• 8,550 points
62 views
0 votes
1 answer

Linux: Recursive download of a folder via FTP

wget -r ftp://user:pass@server.com/ try this. READ MORE

answered May 30 in Linux Administration by Upasana
• 8,550 points
60 views
0 votes
1 answer

Linux: Finding all storage devices attached to a machine

Use /proc/partitions first. This will list all ...READ MORE

answered Jun 10 in Linux Administration by Upasana
• 8,550 points
30 views
0 votes
1 answer

CentOS Error: 64 bit bad ELF interpreter

In my experience, a single yum command will ...READ MORE

answered Jun 20 in Linux Administration by Shubham
• 13,350 points
153 views
0 votes
1 answer

How to find the group associated with a user in linux?

To list all the groups groups or to list ...READ MORE

answered Jun 20 in Linux Administration by DareDev
• 6,810 points
60 views
0 votes
1 answer

Which is a good hex editor for Linux?

You could try Bless. It is written ...READ MORE

answered Jun 4 in Linux Administration by Upasana
• 8,550 points
49 views
0 votes
1 answer

generating a list of files with their absolute path in Linux

If you find an absolute path to start with, ...READ MORE

answered May 16 in Linux Administration by Upasana
• 8,550 points
42 views