• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / How To / How To Check OS Installation Date In Linux Ubuntu

How To Check OS Installation Date In Linux Ubuntu

By Sourabh / March 18, 2024 Category: How To, Ubuntu

Find Linux install date using terminal. Here is how to check os installation date in RedHat Linux or Ubuntu Systems.

Run any one of the following commands. You will have to replace /dev/sda1 with correct hdd drive partition in the following set of commands. When executed correctly, the command will display when the file system was originally created.

sudo fs=$(df / | tail -1 | cut -f1 -d' ') && tune2fs -l $fs | grep 'Filesystem created'

Or,

sudo tune2fs -l /dev/sda1 | grep 'Filesystem created:'

Or,

sudo dumpe2fs /dev/sda1 | grep 'Filesystem created:'

NOTE: The above following commands will work on all Linux distributions supporting ext4 filesystems.

Find Linux Installation Date and Time Using Anaconda Files

You can find Linux installation date and time from anaconda files. The anaconda-ks.cfg file is automatically created to save your installation settings.

Simply run the command:

sudo ls -l /root/anaconda-ks.cfg

You can also use start command to find installation date and time. Simply run the command “$ stat -c %w /”.

Primary Sidebar

Latest Posts

Ubuntu 25.04 ‘Plucky Puffin’ Is Available To Download

How to Login as Root User in Linux Terminal

Install Firefox In Ubuntu Terminal Command Line

How To Check Kernel Installed Date In Linux Ubuntu

How To List All Kernel Modules That Are Loaded In Ubuntu

Enable Ubuntu Auto Login Without Password

Download Ubuntu 25.04 Official Default Wallpapers

How To Fix Initramfs Error In Ubuntu Command Line

How To Check All Available Kernel Version In Linux Ubuntu

3 Best Artificial Intelligence Domain Name Generators

© 2025 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap