From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 qOJYDY+TdmIwXgEAbAwnHQ (envelope-from ) for ; Sat, 07 May 2022 17:43:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aDVGDY+TdmKkSgAAauVa8A (envelope-from ) for ; Sat, 07 May 2022 17:43:11 +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 E378332D22 for ; Sat, 7 May 2022 17:43:09 +0200 (CEST) Received: from localhost ([::1]:46790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnMaK-0003Al-KI for larch@yhetil.org; Sat, 07 May 2022 11:43:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnMZu-0003AN-9J for help-guix@gnu.org; Sat, 07 May 2022 11:42:42 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:52090) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnMZs-0007Yg-Qe for help-guix@gnu.org; Sat, 07 May 2022 11:42:41 -0400 Received: by mail-wm1-x32a.google.com with SMTP id q20so6129789wmq.1 for ; Sat, 07 May 2022 08:42:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=2NI7k9MYQZtGEoWj9gUSnnXdN3Wz5gTLrZd6OXp6InM=; b=FohYbXpyjOxsNkQYYgWcDi95wW4RqFIIgWLLDDrgifThOqH7zWnyURahL1c/cTUSfJ akW9eRVP0beEXQPf699g9v4VBrPUREvz1TTjC4x4CVIRNiv+KeD8k+osT0uzfyEac8dj 8rrA811Q90OdfyHhn256eYQBTGAj1L33rzXInW7XbOsKjIDr6q3JWsYGREwqnyUo1Lcs CmuebNvR6sHhCsMy3hPJ8iapGuhOb/IjGVkR18JCLWcY8VvETMYa94bt0Qb251w3o/nK pZqbezGGvxY4/f+mVYmQyCdzyu5J6jX9qgNOjCYIJd/t5Z8OVoOUVEdqaNgJrsqU0QUt /XJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=2NI7k9MYQZtGEoWj9gUSnnXdN3Wz5gTLrZd6OXp6InM=; b=jTJik7GSYISJsRvLv0dC8VqHfTE+pkTtWLv/qyM3h0X1S/SYusjYUURqP3hxnFscTP HI3nxcK853i91bPyhnX6tHfgV99roLg72oSBiqHnYzgby+ElCDN/UFFlESK6ZX60Usbi O4gLigWpslhq+sGZAZM7YnG3eDmnwXyxvXFbUiQ+33i/kA2rAUosbOxem6UVF0loiBJy j5ELP3OYYZLkXHF3chOOXhIxQVBxdRs/guztuX80P2jhrNPRAqFTVBXeJ7gw3hLAwCbP qv+FHp7tAnPSG1S0SnCYnHBRuAX7OocaK8nrhvdejGckbu9UbKTwC5EHP58j5lTFUnlb yBQA== X-Gm-Message-State: AOAM531kGhxqRhbIVkvltJccy+lWD1tJ9keDaL5QuZ65wahdLuYrcRgC PtoYqyxuvLvRu/9/bwYW2NjYgUAA9Uw= X-Google-Smtp-Source: ABdhPJyL81pp5WJv3X4KtIpFDQtk5CpQ3vplsP/M6mO4+C77PRs/wCmW6BgAauFBsjqDBtyt6ukGiA== X-Received: by 2002:a05:600c:3048:b0:394:436b:76b6 with SMTP id n8-20020a05600c304800b00394436b76b6mr14891616wmh.63.1651938159047; Sat, 07 May 2022 08:42:39 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id l12-20020a05600012cc00b0020c5253d8b9sm6254470wrx.5.2022.05.07.08.42.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 May 2022 08:42:38 -0700 (PDT) From: zimoun To: Gottfried , Tobias Geerinckx-Rice , help-guix@gnu.org Subject: Re: how can I find the terminal output In-Reply-To: <72a9c190-6917-6aea-98b7-cd7668c85d9c@posteo.de> References: <48436da2-0c29-79c1-66b2-e1ed4d0381fd@posteo.de> <86a6c3os7j.fsf@gmail.com> <87y1zk9ux9.fsf@gmail.com> <72a9c190-6917-6aea-98b7-cd7668c85d9c@posteo.de> Date: Sat, 07 May 2022 17:42:28 +0200 Message-ID: <86h7619wnv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 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=1651938190; 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=2NI7k9MYQZtGEoWj9gUSnnXdN3Wz5gTLrZd6OXp6InM=; b=fAAFftBPQpBNsd/iO/eZIBtDVv9j1qlfe9ns1iiDuaqZtTxSP0JbfYgZshUQkLGYJWYaBX 9D4pKf+2u0fUDtOt+VHbTV8b/pqq+vDmdC5YPWYowJjCXShellggOVBRj5eZESNF0OZb0b ijq2v5L7/K32Po7jr3ulqcg6ChJ1LS5+PHefbqXFi+KSxTvryMEmAfzPNDhdkWPfwnGJYJ bAi3ro67Kdd/WiBnNblMD+MGwaH7tF5ocJpOr+N9+z2X8BgjoO6MqXNPPQHWcBOzqW6y0m iNmhlH2q+RSXJZFMuIf6E3OEmW5DI401gJuS6oUiXL14MT69xPFE/45CHFHdyg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651938190; a=rsa-sha256; cv=none; b=q2irzsmva2mkpI4lizuDC9GZ2C+WW7Wmytr8l/GVWJnWzf27KaayAvHNyWfud5+fSxyjEN Nor1YJVcTLbtVUCiwULtYZb5fHgtHJ4ItmFOULe2ImtHSz6cpHK8erQ/BMEAzuXutYmeJ+ uOA7nYZVkI1KNvQuC54DsjkB7Q5z0cvESrQEf94c4mzTXDlmV506nHaVco2UNb0Afeotxa as1UQvnWnvm6lwcxVSHinO1mqSEgNoECh+GoE6PQOIsmvHecTEqhOVxHJa9QKk5lrwethe f9o5bvkzwkkSuG//4feY64Iw/soBXbbJZm52jnWmJ6ATDj/gRj7yokh7z5kCzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=FohYbXpy; dmarc=pass (policy=none) header.from=gmail.com; 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: -7.60 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=FohYbXpy; dmarc=pass (policy=none) header.from=gmail.com; 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: E378332D22 X-Spam-Score: -7.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: zScU0Fqr8v60 Hi, On Fri, 06 May 2022 at 20:18, Gottfried wrote: > How do I have to use "script"? Only you can answer. ;-) 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. Otherwise, I only redirect the output of a command to a file using =E2=80= =99>=E2=80=99. > 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. > or can I, after a command with output, enter "script" and it will log my= =20 > output in a file typescript? No. However, you can redo the same command to append the output to a previous =E2=80=99typescript=E2=80=99. 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 and = output) between =E2=80=99script=E2=80=99 and =E2=80=99exit=E2=80=99 (included). Th= erefore, the first =E2=80=99pwd=E2=80=99 will be not recorded. > I tried several times, but it didn't work. It didn't record anything,=20 > when I opened the file typescript. > > 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. Hope that helps, simon