Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 May 2001 09:34:27 -0700
From:      Drew Tomlinson <drewt@writeme.com>
To:        "FreeBSD Questions (E-mail)" <freebsd-questions@FreeBSD.org>
Subject:   Redirect Output Appended to an Existing File?
Message-ID:  <BA5D0CE1CBB2D411B6AA00A0CC3F02390AF9BF@ldcmsx01.lc.ca.gov>

next in thread | raw e-mail | index | archive | help
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




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