There probably is, but I don't know it..

I use :

rm filename
touch filename

that removes the file and recreates it...

regards

Frank
  -----Original Message-----
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Craig Westerman
  Sent: Monday, 9 July 2001 1:21 PM
  To: Mandrake Newbie
  Subject: [newbie] deleting contents of a file


  Is there a linux command that will remove the contents of a file, but
leave the file name?

  Thanks

  HW


Reply via email to