From owner-freebsd-questions Mon May 7 9:34:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from lcmail2.lc.ca.gov (lcmail2.lc.ca.gov [165.107.12.11]) by hub.freebsd.org (Postfix) with ESMTP id 1EFDA37B422 for ; Mon, 7 May 2001 09:34:36 -0700 (PDT) (envelope-from drewt@writeme.com) Received: from CONVERSION-DAEMON by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) id <0GCZ00H014PX2A@lcmail2.lc.ca.gov> for freebsd-questions@FreeBSD.org; Mon, 7 May 2001 09:34:45 -0700 (PDT) Received: from tagalong ([165.107.42.167]) by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) with SMTP id <0GCZ00KP24PXMX@lcmail2.lc.ca.gov> for freebsd-questions@FreeBSD.org; Mon, 07 May 2001 09:34:45 -0700 (PDT) Date: Mon, 07 May 2001 09:34:27 -0700 From: Drew Tomlinson Subject: Redirect Output Appended to an Existing File? To: "FreeBSD Questions (E-mail)" Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: 7bit Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? Thanks, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message