From owner-freebsd-questions@freebsd.org Wed Nov 8 20:26:59 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 5A021E5B487 for ; Wed, 8 Nov 2017 20:26:59 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2AB35665AC for ; Wed, 8 Nov 2017 20:26:59 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-it0-x233.google.com with SMTP id p138so8443527itp.2 for ; Wed, 08 Nov 2017 12:26:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=qcrhbETfjrH9Dd0JUaSVvfKgGl++L3nFK6h7NZyD8Wo=; b=GIMWiqO3m8rlBID1m1DQFRtVZtIo7i2D5xfoywtZWwUyHr3nc7WIwpeqlIFzjQGn0V jmuTnzRVRyYtFYG7H6+DjxVtCICT39A1d4L0FDxZoQ/PEwvfY+8KDhgUcDOfz5Vap53p BvGwz6gSTnkmWLtrJ4jPA8CD33CsJdRT+WTECfScWGG4WwP952tLlmA/EHjmXEjOXie2 bvvb2jywGL69ctfh1dnZ6N248vwZ3s6m/jgBJAtmwUjJI/5SU73YCVCGyG9+0lv2n7Ri 6vybGkPyO/8JiQnMWVN4mQ/lzQBkCHBxTDhgRQkSbMLVYp5azMKaJKz5Zeu/2/IB0iqV jBPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=qcrhbETfjrH9Dd0JUaSVvfKgGl++L3nFK6h7NZyD8Wo=; b=Ms4QP9JX9Efv2ot8iQvrGgP2DYFXjhzgqrE2RjdEMts+1G140LZZXAgkzpmv+Gma63 QbXZH9nnxAMHvTepezSKcc7BkuubAT3QbKEc9oH/ZLB1omYQ6wQaj08j8n2b+7u+rSmJ 3YNtKslR7CtsIEQdG8r479IIpznbgs9wOXQpakIidFQpXrq4JNwWNoZIKomOSR8xMllm nKRyYejOc2A/yuQVZKjg54d4UGdhT5rUUiqGGnhPJmXxFxBTpFRbfvagMGR0HfkPYhmQ DOMDkgbrJAk3FOuvoA8BgaBP9yqaaGT3wuTBMDI226qXNOn3yeYgjhwaX7HxDXIICgmN KoUg== X-Gm-Message-State: AJaThX7Bn9RkrDC5SJA0twqyb5MIokGmtwUWOrBHt0m1JJy2+IqvePq7 5oN3Q4L718D5rNYXtEJZawP33w== X-Google-Smtp-Source: ABhQp+R9uG5bU0SSfpTEpNsrBLmeTmKK7FFs5V5t+2KYt2U+PZ5Fl1HML7GRKHPiCSbWZfncf9UCEA== X-Received: by 10.36.130.131 with SMTP id t125mr2420128itd.104.1510172818395; Wed, 08 Nov 2017 12:26:58 -0800 (PST) Received: from [10.0.10.7] (cpe-65-25-50-122.neo.res.rr.com. [65.25.50.122]) by smtp.googlemail.com with ESMTPSA id g6sm2224955ioc.11.2017.11.08.12.26.57 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Nov 2017 12:26:57 -0800 (PST) Message-ID: <5A036890.7090204@gmail.com> Date: Wed, 08 Nov 2017 15:26:56 -0500 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: sh script echo to syslog Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Wed, 08 Nov 2017 20:26:59 -0000 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. How would I code that? Thanks for any help.