• 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

Downlaod Ubuntu 26.10 Stonking Stingray

How To Shutdown Linux With A 15 Minute Delay And Message

Using Linux Terminal How To Get Total Disk Size In GB

Count And Find Number Of Files In A Linux Directory Using Command

Check How Many Users Are Created In Linux Ubuntu

How To Check User Permissions In Linux Using Command

Check Which Folder Is Taking More Space In Ubuntu Linux

How to Install Claude Desktop App in Ubuntu Linux

Job Scheduling Using At Command In Linux With Examples

How To Check Permissions Of A Directory In Linux Command

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

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