Time when system installed

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
ccccc
Level 1
Level 1
Posts: 1
Joined: Tue Oct 19, 2021 3:45 pm

Time when system installed

Post by ccccc »

I am trying to find the exact time (down to the day and hour) when my operating system was installed. I am using Linux Mint 20.2 XFCE.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
gittiest personITW
Level 12
Level 12
Posts: 4285
Joined: Tue May 28, 2019 4:27 pm

Re: Time when system installed

Post by gittiest personITW »

Welcome to the forums.

At a guess - look at the creation time of your swapfile in /
User avatar
xenopeek
Level 25
Level 25
Posts: 29597
Joined: Wed Jul 06, 2011 3:58 am

Re: Time when system installed

Post by xenopeek »

Command date -r /var/log/installer I think answers exactly when you ran the installer.
Image
t42
Level 11
Level 11
Posts: 3734
Joined: Mon Jan 20, 2014 6:48 pm

Re: Time when system installed

Post by t42 »

This line can be usefull too

Code: Select all

ls -lct --time-style=+"%d-%m-%Y %H:%M:%S" /etc | tail -1 | awk '{print $6, $7}'
-=t42=-
Locked

Return to “Beginner Questions”