• 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

Job Scheduling Using At Command In Linux With Examples

How To Check Permissions Of A Directory In Linux Command

Delete Directory And Contents Recursively Without Prompt On Linux

Check User Login History In Ubuntu Linux Command Line

Use Locate Command To Find File In Linux Terminal By Name

How To Change Terminal Color In Ubuntu Command Line

How To Run Fsck Manually In Linux To Fix Unexpected Inconsistency

How To Fix Broken Packages On Ubuntu From Terminal

Re Execute The Previous Command In Linux Ubuntu Command Line

How Much RAM Is Needed For Ubuntu PC

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

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