Web lists-archives.com

Re: Is who -b command available? Need to know when computer was started.




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