Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jun 2005 02:06:05 +0200 (CEST)
From:      Svein Halvor Halvorsen <svein-freebsd-questions@theloosingend.net>
To:        Dan Nelson <dnelson@allantgroup.com>, Jonathan Chen <jonc@chen.org.nz>
Cc:        questions@freebsd.org
Subject:   Re: Chop off end of file
Message-ID:  <20050626020435.V15834@maren.thelosingend.net>
In-Reply-To: <20050626000245.GC38082@osiris.chen.org.nz>
References:  <20050626015255.D15610@maren.thelosingend.net> <20050626000245.GC38082@osiris.chen.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help

* 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)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050626020435.V15834>