Empty logfiles

Jos Chrispijn ports at webrz.net
Wed Aug 29 20:01:48 UTC 2012


Stupic question: I have a directory with 120 logfiles (extension *.log).
Can someone tell me how I can empty these logfiles in one command?
I thought 'echo > *.log' would work, but no way K-)

thanks
Jos Chrispijn


More information about the freebsd-questions mailing list