From owner-freebsd-questions Mon May 7 9:36:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from q.closedsrc.org (ip233.gte15.rb1.bel.nwlink.com [209.20.244.233]) by hub.freebsd.org (Postfix) with ESMTP id 2C42137B422 for ; Mon, 7 May 2001 09:36:35 -0700 (PDT) (envelope-from lplist@closedsrc.org) Received: by q.closedsrc.org (Postfix, from userid 1003) id 0CA4E55407; Mon, 7 May 2001 09:28:50 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by q.closedsrc.org (Postfix) with ESMTP id F2BFC51610; Mon, 7 May 2001 09:28:49 -0700 (PDT) Date: Mon, 7 May 2001 09:28:49 -0700 (PDT) From: Linh Pham To: Drew Tomlinson Cc: "FreeBSD Questions (E-mail)" Subject: Re: Redirect Output Appended to an Existing File? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 2001-05-07, Drew Tomlinson scribbled: # Is there a way to use the redirect command to append output to an existing # file? For example, I issue a command like this: # # some_commmand > /var/log/logfile # # If logfile exists, the current version will be overwritten with the new # version. Is there a way to have the output appended to the file instead of # overwritten? Replace > with >> to do an append. -- Linh Pham [lplist@closedsrc.org] // 404b - Brain not found To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message