From owner-freebsd-questions@FreeBSD.ORG Wed Jan 4 16:46:33 2006 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG 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 08F8C16A41F for ; Wed, 4 Jan 2006 16:46:33 +0000 (GMT) (envelope-from albi@scii.nl) Received: from post-25.mail.nl.demon.net (post-25.mail.nl.demon.net [194.159.73.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id D68EF43D68 for ; Wed, 4 Jan 2006 16:46:12 +0000 (GMT) (envelope-from albi@scii.nl) Received: from aseed.demon.nl ([83.160.138.119]:9911 helo=assata.aseed.net) by post-25.mail.nl.demon.net with esmtp (Exim 4.51) id 1EuBm1-000DuQ-GO; Wed, 04 Jan 2006 16:46:05 +0000 Received: from http.aseed.antenna.nl (unknown [192.168.0.50]) by assata.aseed.net (Postfix) with ESMTP id 8EA9B2A081A; Wed, 4 Jan 2006 17:47:08 +0100 (CET) Received: from localhost.localdomain (217-19-30-147.dsl.cambrium.nl [217.19.30.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by http.aseed.antenna.nl (Postfix) with ESMTP id EE15158C61B; Wed, 4 Jan 2006 17:47:33 +0100 (CET) Date: Wed, 4 Jan 2006 17:46:03 +0100 From: albi To: fbsd_user@a1poweruser.com Message-Id: <20060104174603.d0d4f9e5.albi@scii.nl> In-Reply-To: References: X-Mailer: Sylpheed version 2.1.1 (GTK+ 2.8.6; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@FreeBSD.ORG Subject: Re: command to add file contents to end of existing file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2006 16:46:33 -0000 On Wed, 4 Jan 2006 11:40:38 -0500 "fbsd_user" wrote: > What is command or command sequence to copy the contents of file B > to the end of the contents of file A? i would try something like : cat A B >> C ; cp A A-backup ; rm A ; mv C A -- grtjs, albi gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import