![Forrest logo](/images/logo.png)
getconf:tldr:2b466
The command "getconf LONG_BIT" is used to retrieve the size of the long data type in bytes. The output of this command tells you the word size or architecture of the operating system.
The "long" data type is a larger integer data type that can store larger numbers than the regular "int" data type. Its size can vary depending on the system architecture.
By running the "getconf LONG_BIT" command, you can determine whether your system is 32-bit or 64-bit. If the command outputs "32", it means your operating system is running on a 32-bit architecture. A "64" output indicates a 64-bit architecture.
Knowing the architecture of your system can be useful when installing software, as some programs may have different versions for different architectures.