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, 2019 in Linux Administration by Shubham
• 13,450 points
65 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, 2019 by Upasana
• 8,620 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, 2019 in Linux Administration by Shubham
• 13,450 points
101 views
0 votes
1 answer

How to create a symlink in Linux?

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

answered Jan 31, 2019 in Linux Administration by Omkar
• 69,030 points
188 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, 2019 in Linux Administration by DareDev
• 6,870 points
297 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, 2019 in Linux Administration by Upasana
• 8,620 points
139 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, 2019 in Linux Administration by Upasana
• 8,620 points
117 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, 2019 in Linux Administration by Upasana
• 8,620 points
80 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, 2019 in Linux Administration by Shubham
• 13,450 points
795 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, 2019 in Linux Administration by DareDev
• 6,870 points
205 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, 2019 in Linux Administration by Upasana
• 8,620 points
123 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, 2019 in Linux Administration by Upasana
• 8,620 points
125 views