From owner-freebsd-questions@FreeBSD.ORG Sun Oct 23 16:42:58 2005 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 11FBD16A41F for ; Sun, 23 Oct 2005 16:42:58 +0000 (GMT) (envelope-from dpkirchner@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id A239D43D46 for ; Sun, 23 Oct 2005 16:42:57 +0000 (GMT) (envelope-from dpkirchner@gmail.com) Received: by xproxy.gmail.com with SMTP id r21so3160wxc for ; Sun, 23 Oct 2005 09:42:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HFTAKFBHcH7O3zMSlVKRzYeZb2c0LjIceM1z6SCfXQtqKGvRB6ir4RbvnkFrDQvqC4tvH6Uo/jK6qGJf6aklEpB38Uy69Gz3/x7HCnKVYPzH27gfdBTKILFYsVnkAkSaq/QInFLyPJwg7VkMMMtPD0uxp2FsLfqXKwi+nQqHZrY= Received: by 10.70.102.12 with SMTP id z12mr3014875wxb; Sun, 23 Oct 2005 09:42:56 -0700 (PDT) Received: by 10.70.104.18 with HTTP; Sun, 23 Oct 2005 09:42:56 -0700 (PDT) Message-ID: <35c231bf0510230942x5ec4f65av941857bb211a9d04@mail.gmail.com> Date: Sun, 23 Oct 2005 09:42:56 -0700 From: David Kirchner Sender: dpkirchner@gmail.com To: Eric F Crist In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Cc: free bsd questions Subject: Re: writing to syslog from a shell script? 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: Sun, 23 Oct 2005 16:42:58 -0000 On 10/23/05, Eric F Crist wrote: > How could I write an entry to syslog from a shell script. For > example, I want to write an entry stating that a command worked or > didn't work, along with an error message. Check out logger(1)