From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <9front-bounces@9front.inri.net> X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from 9front.inri.net (9front.inri.net [168.235.81.73]) by inbox.vuxu.org (Postfix) with ESMTP id E8F68253A4 for ; Sat, 9 Mar 2024 18:45:25 +0100 (CET) Received: from mars.pulpie.xyz ([104.238.162.80]) by 9front; Sat Mar 9 12:42:42 -0500 2024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcp80.org; s=20211202; t=1710006155; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6rDmvYorEGb2y/D/++HWyIcXY+CUx/L7Ug+CJMWbKt0=; b=JEOw9MuTJ8LPAZjsmX2ot2NUsSG4aD8ykOHsmUwZOQHedswoKm04+wswJcrF4iEFUOlDZI IMNPAWmYDT8N0mWYjcDiycOHzAEt/TFFvFMjiNb+CHigQLUdrhn/XwGfdTdSIhQu0h2J6P 5Ce+JY6Cck/xyJOBFLB47P31EOYb7A4= Received: from [10.0.2.2] (deimos.pulpie.xyz [172.16.32.2]) by mars.pulpie.xyz (OpenSMTPD) with ESMTPSA id a5ff3edb (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <9front@9front.org>; Sat, 9 Mar 2024 11:42:35 -0600 (CST) Message-ID: <8769d936-b761-4dc6-950c-a9b2e8226c20@tcp80.org> Date: Sat, 9 Mar 2024 11:42:34 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: 9front@9front.org References: From: "B. Atticus Grobe" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: rich-client ORM package cache injection API Subject: Re: [9front] Equivalent of Unix uname Reply-To: 9front@9front.org Precedence: bulk On 3/9/24 11:31, rockyhotas@firemail.cc wrote: > Hello! > I'm trying to move the first steps into Plan9. > It is not Unix, the user is often warned about this. However, some tools > are available in both systems with almost the same usage, like uptime(1) > for example. Is there anything equivalent to `uname'? I couldn't find > such a tool nor in > >   > > neither in > >   > > If there is not a perfect equivalent tool, is it anyway possible to list > some basic information about the current system? For example the OS name, > the kernel version, the architecture, the hostname. > > Bye! > > Rocky kernels aren't versioned. the os name isn't reported; you're expected to know you're on a plan 9 system. `echo $sysname' will tell you the system name. `echo $cputype' will tell you the arch. 9 doesn't need a uname command. $sysname matters depending on context, but $cputype really doesn't; the 9 compilers are natively cross-arch.