From owner-freebsd-questions@freebsd.org Tue May 26 14:51:58 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 91C152C998B for ; Tue, 26 May 2020 14:51:58 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-vs1-xe2e.google.com (mail-vs1-xe2e.google.com [IPv6:2607:f8b0:4864:20::e2e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49WcP95bKcz4HfP for ; Tue, 26 May 2020 14:51:57 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by mail-vs1-xe2e.google.com with SMTP id v26so11964662vsa.1 for ; Tue, 26 May 2020 07:51:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=B00Otzbx5SOhAFm9qwLqbTg+Mq6e6fbD9CpJaHqTiSY=; b=BRnr9RYttuBRncyHDIREqI+ia4j5ftp1F1oERZV1fCoo/7Wlidc12gyIj/I6UVaTVX qUxXls5W5qr6wxnr+ZNyEQDRCjrtBi5vWc/8YQkg93+qF/Kg0mVEfLVs85HtPfdVb6K+ E308TQGTvDRzqj5ksmVElbMs28g4hV9eWXK/62nunXR5jRGfGtp6WEPT7i9fTAdIzjB7 4l9hb2pHKm3xRsEAOfE6rYE89VwYv6qRu5gBVfxhnwYO4M4+5k7WEqJCy3SffSnn6m+A p8hKBBAjkOGAWvjZbxnV0ZR/SOpNzvM1Zvzcg++eiiqAVu2euXWizobvNx2MnpasE4SY 3K5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=B00Otzbx5SOhAFm9qwLqbTg+Mq6e6fbD9CpJaHqTiSY=; b=laqyOr2OMKb9tq6BH7BhQE74uSI4D1nT1xcsyBT1H8BlHbL5xzrXPlU01oYuQE1NTY TNdy8IIBw3TUAioJ/njE4Ea2ueq3MI5LuCzaTe319f0QxX6BDRAkknsmvf06HvCRiCYh /zYxtpt8bryXI/WSOdSPXp9IYL5RmhUF9CEWZsj/+woxrsDTnlJ1b2qp1A62H3Btj5I9 glMnzK9hgmYVhW/8HuNHcj4LZanvX/Ehr5wRVBpH/1nIieeUYEnmsb9rNyvjnCsfsM5p KdhpvgZmOqIW+BoT3EA4CEiquNsQPCTor6yHCpuiq1Gs7jUOjbCkBikwQrku39FSD52y CEQg== X-Gm-Message-State: AOAM533hJXKiVnZH3gigCs2OSPUBHa8MJ/+pjZ9zduqaBgw/5rMbe/Qw p2POGuQC8LRnkShW7A3JfxyN9a7Fptr7FvsPT36f2fE4 X-Google-Smtp-Source: ABdhPJy9PIiA4hW3/jD0Mg8JupAw8G70LfDw7ez399u9TSgzY7Qr4vrW7fa37+I13+KWe8FMUO5t8dy8fM/fgSdD2xw= X-Received: by 2002:a05:6102:201b:: with SMTP id p27mr1257604vsr.101.1590504715989; Tue, 26 May 2020 07:51:55 -0700 (PDT) MIME-Version: 1.0 References: <20200526144217.GB7556@sh4-5.1blu.de> In-Reply-To: <20200526144217.GB7556@sh4-5.1blu.de> From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Tue, 26 May 2020 17:51:38 +0200 Message-ID: Subject: Re: Linux command 'watch' To: Matthias Apitz , User Questions Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 49WcP95bKcz4HfP X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=BRnr9RYt; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of fernandoapesteguia@gmail.com designates 2607:f8b0:4864:20::e2e as permitted sender) smtp.mailfrom=fernandoapesteguia@gmail.com X-Spamd-Result: default: False [-3.34 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.01)[-1.009]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-0.98)[-0.984]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::e2e:from]; NEURAL_HAM_SHORT(-1.18)[-1.176]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; R_MIXED_CHARSET(0.83)[subject]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2020 14:51:58 -0000 On Tue, May 26, 2020 at 4:42 PM Matthias Apitz wrote: > > > Hello, > > On my Ubuntu mobile phone I'm used to use a command 'watch' in its > terminal app in this way, for example: > > $ watch -n 1 date > > This does every second: clears the screen, launches date and prints its > STDOUT into the terminal. Due to the clear of the screen, the output of > date stays in the same position and only the part of the seconds is count= ing > upwards. I got to know and to use it, because the Ubuntu phone lacks a > digital clock app showing the seconds. > > The FreeBSD watch(1) command does other things, nothing todo with the abo= ve. > > Do we have something similar? Ofc I could write this as a shell loop, so > please don't give me such hints :-) /usr/ports/misc/gnu-watch Cheers > > matthias > > -- > Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-1= 76-38902045 > Public GnuPG key: http://www.unixarea.de/key.pub > May, 9: =D0=A1=D0=BF=D0=B0=D1=81=D0=B8=CC=81=D0=B1=D0=BE =D0=BE=D1=81=D0= =B2=D0=BE=D0=B1=D0=BE=D0=B4=D0=B8=D1=82=D0=B5=D0=BB=D0=B8! Thank you very m= uch, Russian liberators! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg"