• 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 / Find Files Modified In Last 2 Days In Linux Command Line

Find Files Modified In Last 2 Days In Linux Command Line

By Sourabh / February 6, 2025 Category: How To, Ubuntu

See and check when file was last modified Linux. Here is how to check last file modified date in Linux and how to check last updates file in Linux

There are three ways to do this:

  1. Using ls command
  2. Using stat command
  3. Using date command

1: Using ls command

When you use ls command with its -l option, it displays the file and directory names along with details such as date when the file was modified.

Note that when you run ls command without any argument, it list all the files and folders in the current directory. But when you run the ls command with a file name, it will list the details of that specific file only. Similarly when you run the ls command with a directory name, it will list the details of all files in that particular directory.

2: Using stat command

As you know that stat command is used for checking a file status and its details such as date created and the last modified date of the file.

When you run the start command with -c and ‘%y’ arguments it will only show the last modified date.

Note that the -c flag is used to display data and %y is used to display time of last modification.

3: Using date command

Last command which can be used to find the modification date of a file is date command. The date command with -r option followed by the name of file displays the last modified date and time of the file.

Primary Sidebar

Latest Posts

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

How To Find Large Files And Directories In Linux Command Line

How To Use Clear Command History In Linux Terminal

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

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