1

I'd like to find out (ideally via terminal) how long my operating system (Ubuntu 12.04 LTS) has been installed - either that or the date on which the installation took place. Is this possible? If so, how can it be accomplished?

1 Answers1

2

If you are confident the hardware clock was correct at the time Ubuntu was installed, you can look at the files in /var/log/installer, specially /var/log/installer/syslog:

$ sudo head -n1 /var/log/installer/syslog
May 27 19:03:08 ubuntu kernel: imklog 5.8.11, log source = /proc/kmsg started.
Eric Carvalho
  • 55,453