Friday, 2 June 2017

How to get the last process that modified a particular file?

Ηi,

Say I have a file called something.txt. I would like to find the most recent program to modify it, specifically the full path to said program (eg. /usr/bin/nano). I only need to worry about files modified while my program is running, so I can add an event listener at program startup and find out what program modified it when my program was running.

Tһanks!



via User9123

No comments:

Post a Comment