From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sascha Retzki Subject: Re: File size Date: Sun, 08 Aug 2004 14:01:41 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: <1091966501.1291.6.camel@linux.local> References: <20040808090045.GA31942@cmi.ac.in> Reply-To: lantis@iqranet.info Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org Am So, 2004-08-08 um 13.44 schrieb Roberto Vanto: > Anindya Mozumdar ha scritto: > > Hi, > > How can I make a file zero length without deleting the contents of > > the file manually through an editor ? > > Anindya. > > - > > man touch > > touch foo touch changes the timestamp if the file exists. It sounds like the file already exists. btw, You don't need to delete it through an editor, "rm foo ; touch foo" would do it, too. ;-) > > - > To unsubscribe from this list: send the line "unsubscribe linux-admin" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > >