Good morning !
On Monday, 6 April 2020 16:46, Thorsten Glaser wrote:
> Salve Noctambule,
>
> > I have a question about sleep builtin. I'm writing a script and at the
> > end, I want it to simply wait for SIGINT (from user) or signals with
> > kill builtin.
>
> The
Salve Noctambule,
>I have a question about sleep builtin. I'm writing a script and at the
>end, I want it to simply wait for SIGINT (from user) or signals with
>kill builtin.
The normal way to terminate sleep is SIGALRM though, but SIGINT
will most likely also work (try it out
Hey !
I have a question about sleep builtin. I'm writing a script and at the end, I
want it to simply wait for SIGINT (from user) or signals with kill builtin.
What is the maximum number of seconds that can be used with sleep ?
I was thinking about adding the following "trick" :