From owner-freebsd-questions@freebsd.org Thu Nov 9 14:14:45 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EDF89E51475 for ; Thu, 9 Nov 2017 14:14:45 +0000 (UTC) (envelope-from the.lists@mgm51.com) Received: from oneyou.mgm51.net (oneyou.mgm51.net [IPv6:2607:f2f8:af30::100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "oneyou.mgm51.net", Issuer "RapidSSL SHA256 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D5A4D679BD for ; Thu, 9 Nov 2017 14:14:45 +0000 (UTC) (envelope-from the.lists@mgm51.com) Received: from sentry.24cl.com (sentry.24cl.com [IPv6:2001:558:6017:94:a4a4:f5ce:4e8a:b067]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "sentry.24cl.com", Issuer "Mike's Certificate Authority" (verified OK)) by oneyou.mgm51.net (Postfix) with ESMTPS id 3yXlXv0tSSz1Bsl for ; Thu, 9 Nov 2017 09:14:39 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mgm51.com; s=mgm51-02; t=1510236879; bh=TRabqKK1JF1C4dBL/fAQboUl62nObRNj4Sy/7e0Opkk=; h=Subject:To:From:Message-ID:Date; b=PseiBSTM63i8usg45ia6a0SuMNqYVnrd5/160OuknU2d57J8lxUdf/XFOCEmgJpp+ OoP3FfzM0uSUBGRyjlr84DtqeCd38V+obqZcfC0CDtscQIAsGqCgpw2iIIPoZv8C2t wj6NSU0wp1MxBZqGE3d6RNZByYgLRpM0zxvMpkP0ynq8t0/F12wfKURNYq266hiZMz rSfaY4opAtqaYzIK7UCAypf3XXhU34hrx0hxpfI/GrO6arjmg/ATBouu+ScLu2EwTl qbS3OGpU6cxnDtnI/jivgUqES9rdYrRbMmk5qSPGqDcUnqyl6JtnGLheNt9vR2HYh9 +3bwyIdS3u66g== Received: from [IPv6:fdcf:b715:2f4d:1:2856:7dd:c333:a1be] (unknown [IPv6:fdcf:b715:2f4d:1:2856:7dd:c333:a1be]) by sentry.24cl.com (Postfix) with ESMTP id 3yXlXt0yCgzkB48 for ; Thu, 9 Nov 2017 09:14:38 -0500 (EST) Subject: Re: sh script echo to syslog To: freebsd-questions@freebsd.org References: <5A036890.7090204@gmail.com> From: Mike Message-ID: Date: Thu, 9 Nov 2017 09:14:35 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <5A036890.7090204@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 14:14:46 -0000 On 11/8/2017 3:26 PM, Ernie Luzar wrote: > Hello list; > > I have a sh script that I use echo "message text" and it shows on the > terminal console that started the script. Thats ok, but I would like to > also have that same message posted the syslog. The logger command, using the -s option, may be helpful for what you want.