delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/10/16/11:36:42

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:from:reply-to:to:subject:date:message-id
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=VXLq+eFUjMQb6lVUGFJCJcbd1xGOQWkdYNFpGXmVFSUaR/Wd0XGBh
dLEcVdqlklkrPAz/ldNeJcN1uQLmhTg5s/ygfbBZ+0NvEdB0QmCV0T8sywW0YaKX
NOdv8Rjxr9i1wwXPmhMTlGKUvb3gO1upipWtoZsHwX8EUgj+9bP2Y8=
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:from:reply-to:to:subject:date:message-id
:mime-version:content-type:content-transfer-encoding; s=default;
bh=j/sjXnbZ7cM07uPmcmtBCHCQRIE=; b=FV02a841itKya8aXEArFuAMxmSqP
z2sqY00o4e56xoGqUZ/X8rMJzA5mJ3A10Ov897rgX4Wa/Zj69N3HKWUsLG9ubLrU
SuaEY5qNTwaIA4GJoIoUtQWlHNACxZeeV3H7rYluWhsSZYLBG6teLW3QEZcJ0LYY
CSWafObzrv+aa64=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=2.0 required=5.0 tests=BAYES_80,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=H*F:D*yahoo.com, yahoocom, yahoo.com, H*r:EHLO
X-HELO: sonic310-13.consmr.mail.ir2.yahoo.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1539704187; bh=1KPrYEOIGQ3rvMZPmvmI0XSE64mFWSRHdyBDKmIPJxk=; h=From:To:Subject:Date:From:Subject; b=hQl7kwSZ0EEuARht/O0La8pGNCCSKNkjSFOY7HccrDKj4ML/aiz9SSaszN6UIMJUfPRSMziNCBBZEMe036g5QKOgwA6BB3wh0Nvy4YWtPzvIMGXEN2Zmk+cCUaZznIS2LIlHvV5TTOWOc8QD7MENc9VOu2ag3EeWBqCzsO7XlYcP24owRvqDj38vH3TYLm9W7lOe8Db9VAzOFyrGhm3jvEzHPKSwBrrrL9wsGxDJIpccWLjasNYODFK7c/dzRHPYFs80GaH8i43Ip0Hhj19x3GhO0YjTwXHAtv3OvV9a4oDyuT099Vrm2W7WYVVcQuXKAcexUI8CTeeJmWmM1Qo/zg==
From: "Peder Sverdrup via cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Peder Sverdrup" <psverdrup AT yahoo DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Is who -b command available? Need to know when computer was started.
Date: Tue, 16 Oct 2018 17:36:19 +0200
Message-ID: <014001d46565$feedda10$fcc98e30$@yahoo.com>
MIME-Version: 1.0

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).

 

Kind regards, Peder

 


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019