Chop off end of file

Svein Halvor Halvorsen svein-freebsd-questions at
Sun Jun 26 00:06:07 GMT 2005

* Dan Nelson [2005-06-25 19:01 -0500]
>  Try the "truncate" command.

* Jonathan Chen [2005-06-26 12:02 +1200]
>  truncate(1) is your friend.

Thanks! I just figured this myself, after remembering that this operation 
is called to truncate. (Not easy when english is not one's first language)

More information about the freebsd-questions mailing list