From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96536 invoked by alias); 16 Oct 2018 18:54:42 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 96522 invoked by uid 89); 16 Oct 2018 18:54:41 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:690 X-HELO: mail-io1-f43.google.com Received: from mail-io1-f43.google.com (HELO mail-io1-f43.google.com) (209.85.166.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 16 Oct 2018 18:54:40 +0000 Received: by mail-io1-f43.google.com with SMTP id w16-v6so17228821iom.7 for ; Tue, 16 Oct 2018 11:54:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lCi6Z35G8Zz+dncj+CMbC/sTliqz0GNTF2adHIK+91Q=; b=fOapfloQbGE96qBhLt2fnscoJ/9ptSO7D0cpg/3MxVI0EhIM/h84nnWzBkfomP7ezb C2MqwxTcpWl0N3fplSll3eicuzEitOXdPyy74Sqp8zEuY3NgdwXzdS8k6hbczFAomqXS tVm2H6SAOfZR24mRBtd9HrQaOLqjl2luQo2X0KVFkBCjTM/hXRfXF6RGnXLbvLSfQAwD 6OXTBvJuqoR/Eogz/LgEu9/TbAPeMShY1BphsnM7+HcGApg8yrAIPKBRaiSALeRact6N J9hiUm53fj2xOjsVEegY2WPG9neFo1eGnGLSQXR+mZYwGtpWbz7BWrvdyOTVNWvXwa5c RwNw== Return-Path: Received: from [192.168.0.3] (d47-69-109-131.nap.wideopenwest.com. [69.47.131.109]) by smtp.gmail.com with ESMTPSA id h76-v6sm5138265iof.16.2018.10.16.11.54.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Oct 2018 11:54:37 -0700 (PDT) Subject: Re: Is who -b command available? Need to know when computer was started. To: cygwin@cygwin.com References: <014001d46565$feedda10$fcc98e30$@yahoo.com> From: cyg Simple Openpgp: preference=signencrypt Message-ID: <5af8d675-10aa-b91b-640f-ae7eb33dedcd@gmail.com> Date: Tue, 16 Oct 2018 18:54:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <014001d46565$feedda10$fcc98e30$@yahoo.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2018-10/txt/msg00141.txt.bz2 On 10/16/2018 11:36 AM, Peder Sverdrup via cygwin wrote: > Hi, > > I am making a script and need to know when the computer was last booted. > This can be done with > > who -b command. I have installed the minimum cygwin and this command is not > available. > > Which package do I need to install in order to have this command available > (or any other command > > that can tell when the computer was last booted). > You can do an online search[1] to determine which package to install to get a binary. In this case who.exe. [1] https://cygwin.com/cgi-bin2/package-grep.cgi?grep=who.exe&arch=x86_64 -- cyg Simple -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple