I know that uptime prints the time a machine has been up and running, but is there an easier (reliable) way to get the date of the start up than counting down from this output? I tried looking around /proc , but didn't find anything of relevance. There's also a line like this on my dmesg : [ 0.673492] rtc_cmos rtc_cmos: setting system clock to 2011-03-14 14:26:52 UTC (1300112812) But I'm wondering if this method is distribution and kernel...
Originally asked by jho on Stack Exchange (superuser) (CC BY-SA 4.0).