Skip to content

Instantly share code, notes, and snippets.

@gayanvirajith
Created February 6, 2021 09:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gayanvirajith/7e1bb913c93d71a032ae35ab88f40f61 to your computer and use it in GitHub Desktop.
Save gayanvirajith/7e1bb913c93d71a032ae35ab88f40f61 to your computer and use it in GitHub Desktop.
check recently modified files

How to check recently modified files using terminal commands on Linux:

Type in your terminal:

$ find /etc -type f -printf '%TY-%Tm-%Td %TT %p\n' | sort -r .

If you want to see directory files, type in your terminal:

$ find /etc -printf '%TY-%Tm-%Td %TT %p\n' | sort -r .

Unfamiliar modifications in the last 7-30 days may be suspicious.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment