[CentOS] Re: command to ensure other command does last longer than5 seconds

Les Mikesell lesmikesell at gmail.com
Sat Apr 7 18:37:42 UTC 2007


William L. Maltby wrote:
> 
> Yes. My goal though is to use shell scripts because I assume no "C"
> expertise from most admins and users, although it is certain many of
> them have some based on my experience.

(sleep 5 && kill $$) &
exec program_that_better_work_fast

-- 
   Les Mikesell
    lesmikesell at gmail.com




More information about the CentOS mailing list