under an intel I know I can look at the outcome of uname -m to know if my OS is 32 or 64 bit, but under ARM this gives:armv7lI deduced fromfile /usr/bin/lsthat I'm on a 32-bit OS, but how can I know this in an easier way?
is my linux ARM 32 or 64 bit?
arm;64bit;32bit
There are several gradations, since you can run a 32-bit or mixed operating system on a 64-bit-capable CPU. See 64-bit kernel, but all 32-bit ELF executable running processes, how is this? for a detailed discussion (written for x86, but most of it applies to arm as well).You can find the processor model in /proc/cpuinfo. For example:$ cat /proc/cpuinfoProcessor       : ARMv7 Processor rev 10 (v7l)ARMv7 (and below) is 32-bit. ARMv8 introduces the 64-bit instruction set.If you want to see whether your system supports 64-bit binaries, check the kernel architecture:$ uname -marmv7lOn a 64-bit processor, you'd see armv8 (or above).Right now, if you were running a 64-bit ARM, you'd know.