Hi, Thanks very much for your replies. However, this was not any homework or assignment. This arose mainly from an argument regarding touch with a fellow linux user, and since we did not have access to any machine running linux, the best solution was this mail. In fact, someone did give a wrong solution with touch, which was precisely the point of argument. The mail was sent in the form below so that we can get to know the other unnoticed ways, hoping that someone mentions touch as a solution. Anindya. On Sun, Aug 08, 2004 at 02:30:45PM +0530, Anindya Mozumdar wrote: > Hi, > How can I make a file zero length without deleting the contents of > the file manually through an editor ? > Anindya. > - > : send the line "unsubscribe linux-admin" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html