NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: killing `ssh <host> <cmd>' does not kill <cmd> on <host>



On Tue, Dec 09, 2008 at 05:15:34PM +0100, Geert Hendrickx wrote:
> On Tue, Dec 09, 2008 at 03:53:54PM +0100, Petar Bogdanovic wrote:
> > Hi,
> > 
> > when I run a `never ending' command like:
> > 
> >    ssh host tail -f /var/log/maillog.0
> > 
> > CTRL-C-ing ssh after tail has reached the end of maillog.0 does not kill
> > tail. If tail however suddenly would start to generate output again, it
> > would die immediately.
> 
> 
> Do you have the same problem when using tail -F instead of -f ?

Thanks for the hint but tail -f was really just an example. I could have
also used any other command which is doing some job forever and never
prints anything. :)


Home | Main Index | Thread Index | Old Index