emptying a file and keeping its ownership
Chuck Karish
karish at mindcraft.com
Mon Dec 31 16:01:25 AEST 1990
In article <1990Dec30.220722.29050 at jarvis.csri.toronto.edu>
ckchee at dgp.toronto.edu (Chuan Chee) writes:
|I have SCO Xenix 2.2.3. What's the easiest way to "empty" a file
|while keeping its ownership (owner,group) and access permissions the
|same? Actually I only care about permissions (rw-rw-rw).
> $FILE
A redirect with no input truncates the file under Bourne shell.
--
Chuck Karish karish at mindcraft.com
Mindcraft, Inc. (415) 323-9000
More information about the Comp.unix.xenix.sco
mailing list