From owner-freebsd-questions@FreeBSD.ORG Tue Dec 9 05:34:28 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0502316A4CE for ; Tue, 9 Dec 2003 05:34:28 -0800 (PST) Received: from grillolja.cs.umu.se (grillolja.cs.umu.se [130.239.40.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6199943D21 for ; Tue, 9 Dec 2003 05:34:26 -0800 (PST) (envelope-from tdv94ped@cs.umu.se) Received: from localhost (localhost [127.0.0.1]) by amavisd-new (Postfix) with ESMTP id BFF6F3543; Tue, 9 Dec 2003 14:34:24 +0100 (MET) Received: from cs.umu.se (h201n2c1o1100.bredband.skanova.com [81.225.25.201]) by grillolja.cs.umu.se (Postfix) with ESMTP id C668B34ED; Tue, 9 Dec 2003 14:33:30 +0100 (MET) Message-ID: <3FD5CF22.1020401@cs.umu.se> From: Paul Everlund User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: sv,en MIME-Version: 1.0 References: <20031209015125.74977.qmail@web14806.mail.yahoo.com> <200312090259.23677@harrymail> <3FD54A37.8050503@daleco.biz> In-Reply-To: <3FD54A37.8050503@daleco.biz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new cc: homeyra g cc: freebsd-questions@freebsd.org Subject: Re: a technical how to X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Tue, 09 Dec 2003 13:34:28 -0000 X-Original-Date: Tue, 09 Dec 2003 14:33:22 +0100 X-List-Received-Date: Tue, 09 Dec 2003 13:34:28 -0000 >> On Tuesday 09 December 2003 02:51, homeyra g wrote: >> >>> So, I hope this is the right address for this type of >>> question. If not would you please forward this and/or >>> let me know the correct address. >>> >>> Thanks, >>> >>> Here is the question: How to truncate a file from the >>> begining to a certain point in the file? There's two commands that might be helpful: truncate(1) dd(1) Read about them in the man pages. Hope I was of some help! Best regards, Paul