Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2017 13:48:54 +0100
From:      Steve O'Hara-Smith <steve@sohara.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Wildcard on redirection
Message-ID:  <20170805134854.053bdbc352d7aeec7a7f6650@sohara.org>
In-Reply-To: <25f022f4-4778-3f28-8d78-1f1b292f849e@cloudzeeland.nl>
References:  <25f022f4-4778-3f28-8d78-1f1b292f849e@cloudzeeland.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 5 Aug 2017 13:58:50 +0200
Jos Chrispijn <bsduser@cloudzeeland.nl> wrote:

> I have this number of .log files which I would like to empty.
> 
> Using
> 
> echo > *.log

	truncate -s 0 *.log

-- 
Steve O'Hara-Smith <steve@sohara.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170805134854.053bdbc352d7aeec7a7f6650>