From owner-freebsd-questions@FreeBSD.ORG Sun Oct 23 16:40:10 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 36E0416A420 for ; Sun, 23 Oct 2005 16:40:10 +0000 (GMT) (envelope-from ecrist@secure-computing.net) Received: from grog.secure-computing.net (grog.secure-computing.net [216.243.161.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A0FE43D5E for ; Sun, 23 Oct 2005 16:40:08 +0000 (GMT) (envelope-from ecrist@secure-computing.net) Received: from [192.168.1.100] (snipe.secure-computing.net [216.243.161.77]) (authenticated bits=0) by grog.secure-computing.net (8.13.1/8.13.1) with ESMTP id j9NGe51H022941 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 23 Oct 2005 11:40:05 -0500 (CDT) (envelope-from ecrist@secure-computing.net) DomainKey-Signature: a=rsa-sha1; s=grog; d=secure-computing.net; c=nofws; q=dns; h=mime-version:content-transfer-encoding:message-id: content-type:to:from:subject:date:x-mailer:x-spam-status:x-spam-checker-version; b=dm5xoaHiaCfSER8kKckVRHz5nOFh1CpQrL/Wt/YLpHP8i4FTWOtCdMFgU38JOLMW+ JVsiq+T+Ju/j/KO5plOIw== Mime-Version: 1.0 (Apple Message framework v734) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: free bsd questions From: Eric F Crist Date: Sun, 23 Oct 2005 11:39:54 -0500 X-Mailer: Apple Mail (2.734) X-Spam-Status: No, score=-5.0 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grog.secure-computing.net Subject: 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:40:10 -0000 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. TIA _______________________________________________________ Eric F Crist "I am so smart, S.M.R.T!" Secure Computing Networks -Homer J Simpson