Pages

Bash Script: List Last Modified Files on Linux Server

Today I am going to share a simple bash shell script to list the last modified files in a linux server directory. If I Google search this topic then I get several articles / blog posts suggesting to install some tools and then use that tool to find the information but I don't want to install anything on my server so I just went ahead and created one bash shell script that uses find command and placed it in my cronjob that notifies me via email if the content of the file(s) is changed or a new file is created in the directory.