On Wed, 07 Jan 2004 12:42:33 -0600, Rick Weinbender wrote:

> Is there a command to flush or empty the contents
> of a file?
> I would like the empty file to retain it's attributes and rights.
> 
> Thanks,
> -Rick

Simple:

>file

where "file" is your filename.

man bash
/^REDIRECTION

for more info.

-- 
....................paul

Programming without a hex editor is like watchmaking without a hammer.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to