mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* deleting the content of the file
@ 2003-11-25  5:11 Kamal Kumar
  2003-11-25  5:18 ` Mike Fedyk
  0 siblings, 1 reply; 2+ messages in thread
From: Kamal Kumar @ 2003-11-25  5:11 UTC (permalink / raw)
  To: linux-kernel

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!
Regards,
Kamal
*********************************************************************
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*********************************************************************

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: deleting the content of the file
  2003-11-25  5:11 deleting the content of the file Kamal Kumar
@ 2003-11-25  5:18 ` Mike Fedyk
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Fedyk @ 2003-11-25  5:18 UTC (permalink / raw)
  To: Kamal Kumar; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-25  5:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-25  5:11 deleting the content of the file Kamal Kumar
2003-11-25  5:18 ` Mike Fedyk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®