[nylug-talk] logrotate question

Kristian Erik Hermansen kristian.hermansen at gmail.com
Sat Feb 2 17:24:19 EST 2008


On Feb 2, 2008 2:17 PM, N.J. Thomas <njt at ayvali.org> wrote:
> ls foo.*gz|head -n -5|xargs rm -f
>
> (You need GNU head for this to work. Try ghead(1) if you are on a BSD
> box. But then, you probably don't care about that since you are reading
> this on NYLUG.)

No, that's totally wrong dude!
-- 
Kristian Erik Hermansen
"Know something about everything and everything about something."


More information about the nylug-talk mailing list