My question is there some simple/direct means of detecting the bit size of the running OS?
Something like this?:
Code:
if [ "$(uname -m)" = "aarch64" ]; then echo -n "64"else echo -n "32"fiecho -n "-bit kernel / "if [ "$(dpkg --print-architecture)" = "arm64" ]; then echo -n "64"else echo -n "32"fiecho "-bit userland"Statistics: Posted by RonR — Tue Feb 27, 2024 6:56 am