From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SKn0N8QKeWJCPwAAbAwnHQ (envelope-from ) for ; Mon, 09 May 2022 14:36:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oAoTOMQKeWJlDAEA9RJhRA (envelope-from ) for ; Mon, 09 May 2022 14:36:20 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7FA15AB91 for ; Mon, 9 May 2022 14:36:20 +0200 (CEST) Received: from localhost ([::1]:35412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1no1tl-0007yB-IM for larch@yhetil.org; Mon, 09 May 2022 07:49:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no1ma-0004Ke-UF for help-guix@gnu.org; Mon, 09 May 2022 07:42:33 -0400 Received: from mout02.posteo.de ([185.67.36.66]:53405) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no1mY-00071M-4Y for help-guix@gnu.org; Mon, 09 May 2022 07:42:31 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6830224010B for ; Mon, 9 May 2022 13:42:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1652096546; bh=JIywwPM/+qfxnspMq4jsY89J2ZCZc3r5YCkvCejCfKQ=; h=Date:From:To:Subject:From; b=Gsq1+6fgLf370YwfAr5lP3L+DAgyuibFYmcNHkcKKAasgy0IIa84Yx7/bzB51XIx4 Do6mpQnZIZTd8aCtfYhCTidy/T63iq79VclK3cAjLZDeT42QQ4jdTShsAw7lVQ0I7S Ec/nUivNZJQrhpoxdPTxMGXEPmX7Ta5JKiju7uqFHGFa3sGbvvdQA39o+NmrE3rPQO eAGxd9bwGHOoFUSKAj3rA3I8gPDuyyr6cLnVFr2cL9OceC95dabHTUY2kCWsdiUMuy bWv6FW+eCGD2j7DYHaFl2vjwLH3QK5hrVaTYTZJQNnSDSsjGGhE17x4UU3tXQMCsMJ fX5hhI8oQGdLA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4KxfRP0x4Hz9rxB; Mon, 9 May 2022 13:42:24 +0200 (CEST) Date: Mon, 09 May 2022 11:42:20 +0000 From: Kyle To: help-guix@gnu.org, zimoun , Gottfried Subject: Re: how can I find the terminal output In-Reply-To: <86h7619wnv.fsf@gmail.com> References: <48436da2-0c29-79c1-66b2-e1ed4d0381fd@posteo.de> <86a6c3os7j.fsf@gmail.com> <87y1zk9ux9.fsf@gmail.com> <72a9c190-6917-6aea-98b7-cd7668c85d9c@posteo.de> <86h7619wnv.fsf@gmail.com> Message-ID: <01ADBEFD-827A-457E-84DF-173DC00F03DD@posteo.net> MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.66; envelope-from=kyle@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652099780; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=RusQDxTDo68AqCtZvj5KgMzdDNb1WRDfcrWP0hVMghM=; b=JKZSRB3D6VJ97ximByH1gBiuNI27pLqVxKggXC7TkpZt6fpnykrXCeC/rDL8ADZEOgWc+R UqBuKO5iBAWXS7tNO9Fk9pYQnAYs5JDGzpSYUq4CX9GeiWKlGmf/wmKosXQrZBcQt+L4b0 chGhfIh5Wf953gW05Nn/J/XRnvcdRmASDQ7BxJUfS8hWZAL6xJO9reOaxgnHfBnwoDZHqx SlU8nJDm27oPz66c3AFsha8K5ogsbcZP49W8GhekGxLVcSKd3w0PD4aA2cOCtFK6Vlb6Gh B/WkQhAjao9yZtPSNFndFNfYTwUznrAB07VoHg2/J73K68uxkiU08VpV7hgGxw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652099780; a=rsa-sha256; cv=none; b=tY6boYMB9ubiqTd94RFTK46SEx2SRcBeeL6/d9GY0tWStdWTTH1G3bWH5Qt4miElXs9cO5 jNEjaLxksnRiwZ/fBjrR/QLNHC8+3/Mzc3ErzKO1Kll0/AcxRdcIX1+HHs//ZxNOLiaJKo Do4OExx/4FOdneALI47HgLPiSZWDUAvWEiTcdl2LU+2kxHC5QQHvezzIlh1UUbJ/6rQCxx 3SP006hoLfHmDdeBAEVqp9vszjGXnyG0JYOUygA+4tRJMrYuZ3PqR0oculeh9OLq0lVAJk P6ArJPh4DXrlfKgoTBwNSke2EzRHFR1motqUkL579dShYSEPxASTEYM8FnkmVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=posteo.net header.s=2017 header.b=Gsq1+6fg; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.00 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=posteo.net header.s=2017 header.b=Gsq1+6fg; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7FA15AB91 X-Spam-Score: 6.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: dfU4dLPwDHci I have never used the command script, but I thought you might benefit from = installing the tldr utility: whose name is short for "too long didn't read"= It gives examples instead of all the unwanted details that man pages throw= at you first even though they don't make a lick of sense without the right= background knowledge and perspective=2E There are many implementations, bu= t I like tealdeer=2E guix install tealdeer Then type: tldr script That produces a few examples for me=2E On May 7, 2022 11:42:28 AM EDT, zimoun wrot= e: >Hi, > >On Fri, 06 May 2022 at 20:18, Gottfried wrote: > >> How do I have to use "script"? > >Only you can answer=2E ;-) The question is: what is your needs? Do you >need to record and track the output for each command? > >Personally, I only do that for the very rare cases when I am demoing=2E >Otherwise, I only redirect the output of a command to a file using =E2=80= =99>=E2=80=99=2E > > >> Do I have to enter "script" in the terminal before I start other=20 >> commands, so that it will start to log my shell? > >Yes=2E > >> or can I, after a command with output, enter "script" and it will log m= y=20 >> output in a file typescript? > >No=2E > >However, you can redo the same command to append the output to a >previous =E2=80=99typescript=E2=80=99=2E For instance, in your terminal: > > ls > script > ls > exit > pwd > script -a > cd /tmp/ > ls > pwd > exit > >Then the file =E2=80=99typescript=E2=80=99 contains the session (input an= d output) >between =E2=80=99script=E2=80=99 and =E2=80=99exit=E2=80=99 (included)=2E= Therefore, the first =E2=80=99pwd=E2=80=99 will >be not recorded=2E > > > >> I tried several times, but it didn't work=2E It didn't record anything,= =20 >> when I opened the file typescript=2E >> >> So can you show me an example how to use it? >> What Options are useful? > >Well, have you read the manpage of =E2=80=99script=E2=80=99? Type =E2=80= =99man script=E2=80=99=2E > > >Hope that helps, >simon >