How to get the OS Bit version in Linux

For getting the OS bit version in Linux distributions, we can use the following command.

#getconf LONG_BIT

This will give the result 34 or 62.

32 refers to 32 bit OS and 64 refers to 64 bit OS.

Leave a Reply

Your email address will not be published. Required fields are marked *