Pádraig, That was it. I looked at the help information . . . the answer was right in front of me but I missed it.
Thank you Regards, Michael Tarkowski Sales & Marketing Application Architecture FCA US LLC Office: +01.248.838.4866 Mobile: +01.248.891.5097 Email: [email protected] Mobile Text: [email protected] -----Original Message----- From: Pádraig Brady [mailto:[email protected]] Sent: Monday, March 09, 2015 10:33 AM To: Tarkowski Michael (FCA); [email protected] Subject: Re: timeout (GNU coreutils) 8.23 - Controls Keys Not Working 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.
