John A. Sullivan III wrote:
On Sun, 2011-08-28 at 00:36 +1000, yudi v wrote:Is there a way to tell when a system was first booted?Does "uptime" do what you want or do you mean booted for the truly very first time (not counting reboots)? - John
well uptime will tell most recent boot,not exactly what you asked, but the log files in /var/log/installer can tell you when the current o/s was installed
if you mean when the hardware was first booted, there might be something in /sys or maybe somewhere in BIOS PRAM, but that's almost certainly motherboard-specific.
Miles Fidelman -- In theory, there is no difference between theory and practice. In<fnord> practice, there is. .... Yogi Berra