Craig-- On Monday 09 July 2001 01:20 am, Craig Westerman wrote: > Is there a linux command that will remove the contents of a file, but leave > the file name? Echo an empty string into it: $ echo '' > filename.txt That '' is a pair of single-quotes, incidentally. It's sort of hard to see that in some fonts... -- Dan Ray Director Custom Applications Triangle Research, Inc. http://www.triangleresearch.com
- [newbie] deleting contents of a file Craig Westerman
- Re: [newbie] deleting contents of a file Tim Holmes
- RE: [newbie] deleting contents of a file Dan Ray
- RE: [newbie] deleting contents of a file Franki
- RE: [newbie] deleting contents of a file Jose M. Sanchez
- Re: [newbie] deleting contents of a file Dan Ray
- Re: [newbie] deleting contents of a file Jan Wilson
