[olug] Uptime to boot date

ktb xyf at nixnotes.org
Tue Oct 29 17:39:51 UTC 2002


On Tue, Oct 29, 2002 at 11:27:11AM -0600, Jon H. Larsen wrote:
> 
> 
> Anyone know a quick way how I can turn the uptime output into an actual 
> date/time of the last boot?  Would it be the date command?
> 
> [~]$ uptime
>  11:25am  up 493 days,  2:41
> 

Don't know if this is exactly what you're looking for but try -

$ last

The last boot time should be listed.  
kent

-- 
To know the truth is to distort the Universe.
                      Alfred N. Whitehead (adaptation)



More information about the OLUG mailing list