From: Vladimir Karpinsky <vvkarpinsky@yandex.ru> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: [Comm] tee Date: Wed, 19 Jan 2022 16:49:40 +0300 Message-ID: <c24a5544-470c-2eef-2b09-b3e175f9c516@yandex.ru> (raw) Добрый день! Я обычно при обновлении дублирую вывод apt в файл через tee -a, чтобы при необходимости можно было бы потом посмотреть, что и как обновилось. Но в файл идёт вывод только самого apt -- вывод от процессов, которые он вызывает в процессе работы, в этот файл не попадает: например, туда не попадает перезапуск служб, при обновлении ядра не попадает вывод от grub и т.д. Можно ли как-то отправить в файл всё, что я вижу на терминале, как в этом случае, так и в аналогичных, или это принципиально невозможно? Заранее спасибо! -- С уважением, Владимир.
next reply other threads:[~2022-01-19 13:49 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-01-19 13:49 Vladimir Karpinsky [this message] 2022-01-19 16:09 ` Andrey Savchenko 2022-01-19 16:36 ` Michael Shigorin 2022-01-19 16:57 ` Vladimir Karpinsky 2022-01-19 17:34 ` Andrey Savchenko
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=c24a5544-470c-2eef-2b09-b3e175f9c516@yandex.ru \ --to=vvkarpinsky@yandex.ru \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git