[Cialug] who wants to play "name that command"
Dave Weis
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
> command
>
> anybody know?
>
> -barry
>
>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
--
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
mailing list