X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=qIsmKVVADU8u8sBL JtMzuOi/zLt1U1ptWebbTkmQHnxoTrNdS+/HIxJLcfunznTQkgmo1hqzP9306D3G Nj8EY5MpQxpsKe8H4DM3j43BqcL7yKDs6c2s0JZ9Gvqku8OyDh2ry0FAu1Acvx70 e/x95xzezdBUSzHmYwnEnj1JrCs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=5bpY5dN+PfBVmJRuWXOOn+ YZwHQ=; b=uPD113OPhge0nM3xpDnRlgkAIORxAmur3YFbtniKoCfUTzf47qOba1 M9gpdkF8hfmJVYA6CzC6wPmUtXWTomJ0aAJ96rPbFGEwB/efufx9sch8eVv6YMgp RTGA/3w+DXcAueOWFxNRDq8Q+EPViARjtENB8ekagjPiVe1VD2XsE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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== Subject: Re: Is who -b command available? Need to know when computer was started. To: cygwin AT cygwin DOT 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 14:54:36 -0400 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 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