• 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

Free AI Courses With Certificate For Beginners In India

Best AI Plugins For WordPress To Use In 2026

3 Commands To Check USB Connection In Linux Terminal

Linux Terminal Commands for Beginners With Examples

How To Password Protect A Folder In Linux Command Line

Best Download Managers for Ubuntu Linux (2026 Edition)

5 Best Free Keyword Research Tools for Bloggers in 2026

How To Check Linux 32 or 64-Bit Command Line

How To Delete And Remove Repository In Ubuntu Terminal

Fix Unexpected Inconsistency By Running Fsck Manually From Initramfs

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

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