When thinking about reinstalling the Ubuntu system, you may want to determine how long ago the system was installed. This tutorial demonstrates how to get Ubuntu installation date and time.
There is no straightforward way to get the system installation date and time. Using stat
command, we can get the creation (birth) date and time of the root filesystem. It will be similar to the system installation date and time.
stat -c %w /
Output example:
2022-04-25 02:32:13.000000000 +0000
Leave a Comment
Cancel reply