"Scott D. Yelich" wrote: > > What's wrong with something like: tail -f `ls -rt | tail -1` Erm, nothing. Except that this won't switch files when the log rolls over. `ls -rt | tail -l' will only be executed once at start up. Besides, "taildir" is less typing than "tail -f `ls -rt | tail -1`" :o) > The only thing I wish tail would do is multi-tail... mtail... > tail -multi, tail file file file... etc. You mean monitor several files at once? R. -- Robin Bowes - System Development Manager - Room 405A E.O.C., Overseas House, Quay St., Manchester, M3 3HN, UK. Tel: +44 161 838 8321 Fax: +44 161 835 1657
- Re: taildir won't compile... Jeff Hayward
- Re: taildir won't compile... Dave Sill
- Re: taildir won't compile... Scott D. Yelich
- Re: taildir won't compile... Jeff Hayward
- Re: script to tail latest logfile in a directory? Robin Bowes
- Re: script to tail latest logfile in a directory? Scott D. Yelich
- Re: script to tail latest logfile in a directory? Dave Sill
- Re: script to tail latest logfile in a direct... Scott D. Yelich
- Re: script to tail latest logfile in a di... Jeff Hayward
- Re: script to tail latest logfile in a di... Dave Sill
- Re: script to tail latest logfile in a directory? Robin Bowes
- Re: script to tail latest logfile in a direct... Scott D. Yelich
- Re: script to tail latest logfile in a di... Robin Bowes
- Re: script to tail latest logfile in... Adam D. McKenna
- Re: script to tail latest logfile in... Scott D. Yelich
- Re: script to tail latest logfile in... Adam D. McKenna
