Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2020 17:51:38 +0200
From:      =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com>
To:        Matthias Apitz <guru@unixarea.de>, User Questions <freebsd-questions@freebsd.org>
Subject:   Re: Linux command 'watch'
Message-ID:  <CAGwOe2bx673Bw4zzf6t8VdH-2Ph-0gUu06eyoHKYGs0Gf05PJQ@mail.gmail.com>
In-Reply-To: <20200526144217.GB7556@sh4-5.1blu.de>
References:  <20200526144217.GB7556@sh4-5.1blu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 26, 2020 at 4:42 PM Matthias Apitz <guru@unixarea.de> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2bx673Bw4zzf6t8VdH-2Ph-0gUu06eyoHKYGs0Gf05PJQ>