[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: timeout (GNU coreutils) 8.23 - Controls Keys Not Working
From: |
Pádraig Brady |
Subject: |
Re: timeout (GNU coreutils) 8.23 - Controls Keys Not Working |
Date: |
Mon, 09 Mar 2015 14:33:07 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 09/03/15 14:01, Tarkowski Michael (FCA) wrote:
> Hello,
>
>
>
> I’m using the timeout (GNU coreutils) 8.23 command on RedHat 6.5 Enterprise
> server, and it is performing the timeout as planned.
>
>
>
> In my scenario, the timeout command allows me to tail a log on my Putty
> screen for 2 minutes. Here is the command.
>
>
>
> ./startup.sh ; timeout 120 tail -f ${LOG_HOME}/tomcat/instance1/catalina.out
>
>
>
>
>
> Issue – while the log is being tailed on my Putty screen I cannot use my
> control keys. For example, control+c does not cancel the log tail.
>
>
>
> Note – on my other RedHat 6.5 Enterprise servers this is not an issue but
> I’m using timeout (GNU coreutils) 8.4 instead of version 23.
>
>
>
> Any suggestions on how to get the control+c to work would be greatly
> appreciated.
Seems like the --foreground option would be appropriate for your case.
See http://www.gnu.org/s/coreutils/timeout for details.
thanks,
Pádraig.