[Cialug] who wants to play "name that command"
djweis at sjdjweis.com
Mon Jun 27 13:18:39 CDT 2005
cat /dev/null > filename
On Mon, 27 Jun 2005, Barry Von Ahsen wrote:
> I seem to recall that there was a command to delete the contents of a file,
> but leave the file and attributes the same. It's not strip(1), that's for
> object files, but maybe that's what I'm thinking of
> dc thought zero, but I can't find that one.
> yes, I can always #rm file; touch file, but I thought there was a single
> anybody know?
> Cialug mailing list
> Cialug at cialug.org
Dave Weis "I believe there are more instances of the abridgment
djweis at sjdjweis.com of the freedom of the people by gradual and silent
encroachments of those in power than by violent
and sudden usurpations."- James Madison
More information about the Cialug