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 93E3924C8F for ; Sat, 9 Mar 2024 18:43:59 +0100 (CET) Received: from mail.posixcafe.org ([45.76.19.58]) by 9front; Sat Mar 9 12:42:38 -0500 2024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posixcafe.org; s=20200506; t=1710006140; 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=H5r3Gl/BXRXBkAovbSpha3ZMnRc79VaZWthd5S9Odo4=; b=WyiCSp8l1xseW5fdFYv4Qkw1k91aKicgCmYSy6QTR6wTc90a+7vferbhTeKPcAhwJ1ma0v WaLTsYVHDH6T+orzHys+bZpkwvz7sy2RtyR4uO4/1yNue+NdmHr5O27ePFPMmIagnEGwkm 2e5gSU3NwLXbkO3uZNvrTfdILuwXKcM= Received: from [192.168.168.200] ( [207.45.82.38]) by mail.posixcafe.org (OpenSMTPD) with ESMTPSA id 838e67a4 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <9front@9front.org>; Sat, 9 Mar 2024 11:42:20 -0600 (CST) Message-ID: Date: Sat, 9 Mar 2024 11:42:35 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: 9front@9front.org References: From: Jacob Moody In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: private encrypted wrapper just-in-time STM framework 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 There is /dev/osversion but its not really particularly insightful. Uname is generally used to differentiate different Unixen from each other, so I don't see why it would be particularly useful on Plan 9. We also do not generally have version of the kernel per se, at least not in the same way something like Linux does. For architecture there is $cputype and for host name there is $sysname. Hope that helps, moody