[lkml]   [2003]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: deleting the content of the file
On Tue, Nov 25, 2003 at 10:41:05AM +0530, Kamal Kumar wrote:
> Hi All,
> I want to delete the content of file through command promp.I do not want to
> open the file.The size is more than 250MB.
> If anybody could suggest me ,how to do it!

Truncating it should do the trick.

echo -n > file
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:58    [W:0.028 / U:1.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site