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

Re: logrotation



On Wed, May 19, 1999 at 12:20:21AM +1000, Conrad Parker wrote:
> On Tue, May 18, 1999 at 02:50:22PM +0100, Robert Collier wrote:
> > ie. tail all logfiles, until shell expansion allows me to tail
> > everything except *.gz haveing a common extension is usefull.
> 
> (bash)
> 
>         shopt -s extglob
>         tail -f !(*.gz)

 (tcsh)

 tail -f ^*.gz

Mike Stone

(of course, this will be interesting when it comes to wtmp...)


Reply to: