Deutsch   English   Français   Italiano  
<v79eui$21c61$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Inconsistent results for checking whether the OS is 32 or 64 bit
Date: Wed, 17 Jul 2024 22:00:51 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <v79eui$21c61$1@dont-email.me>
References: <khvkmkx35l.ln2@news.ducksburg.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 18 Jul 2024 00:00:51 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9a105d93edfb2dbcb4f0f989ba6cd483";
	logging-data="2142401"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/s+ddVa1fjdpPYGpgP1hFW"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:bXPsYfT993fdTBodeibUcnNlx/k=
Bytes: 1470

On Wed, 17 Jul 2024 15:03:00 +0100, Adam Funk wrote:

> I have a Pi 4 B that I use headlessly over SSH. I can't remember whether
> I installed the 32-bit or 64-bit OS on it, but different commands found
> on the web give different results.

Try looking at a representable executable, e.g. /bin/bash:

    file /bin/bash

On my (admittedly AMD64) machine, I get

    /bin/bash: ELF 64-bit LSB pie executable, ...

but that initial part should not be architecture-specific.