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?
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.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다