Linked Questions

8 votes
2 answers
8k views

I was wondering if there are any tools to keep track of the access history of a file. I know of stat, but as far as I understand, it only returns information about the last time the file was accessed.
Amelio Vazquez-Reina's user avatar
1 vote
4 answers
784 views

Might be idiotic, but I'm running a command that completes very fast, so I don't have enough time to lsof it from another window and see which files is it holding open. Is there some obvious way to ...
ihadanny's user avatar
  • 111
0 votes
1 answer
972 views

How can I register to event that let me know when specific file is read in linux? Can implement in c or in bash /shell script
eventsss's user avatar
1 vote
1 answer
993 views

strace can monitor only one single processes not all, lsof is not a good way too, it's not a real time tool, maybe I need a real time version of lsof? How to list all the processes which have accessed ...
semuci's user avatar
  • 11
1 vote
1 answer
472 views

I need to get a full list of files modified, and if possible files accessed too, by a complex script, as well as all files accessed at the same time of the script running by any other process. So i ...
sharp12345's user avatar
1 vote
2 answers
178 views

How would you monitor a directory on a Linux machine to check if there was a user (or someone from the network) who attempted to access it?
xralf's user avatar
  • 15.3k
0 votes
0 answers
42 views

I am trying to find out a way to do incremental antivirus scan. My current approach under evaluation is using "find". You can see relevant question here: Is there a reason why I can't ...
user1578026's user avatar
28 votes
3 answers
23k views

Which command allows me to know if my webcam is used or not? lsof /dev/video0 is not sufficient. All block devices with major and minor number 81 and 0 should be monitored.
user123456's user avatar
  • 5,288
5 votes
2 answers
3k views

I want to know what program calls a particular executable, including when that executable is used as an interpreter via a shebang line. This is not quite the same problem as knowing what program ...
Gilles 'SO- stop being evil''s user avatar
10 votes
1 answer
3k views

What is the syntax of the LoggedFS configuration file? The official documentation only had usage instructions for the loggedfs command and a configuration file example. Ok, it's XML, but what are all ...
Gilles 'SO- stop being evil''s user avatar
7 votes
1 answer
669 views

I have a configuration file and want to learn what executables are using it (if any). I want to catch who is the reader of this file. If I watch with some interval, I miss it, because the read ...
tarabyte's user avatar
  • 4,576
2 votes
1 answer
2k views

Is it possible to record recent files operation? By operations i mean moving, renaming, deleting, creating etc. Not full log with seeks and stuff.
Lapsio's user avatar
  • 1,363
3 votes
3 answers
151 views

I currently have a file abc.txt. I am curious to know if it is possible to see all the instances when this file was edited, from the date it was created? Q: How can I make it possible [if I would ...
3kstc's user avatar
  • 5,062
5 votes
0 answers
658 views

Is there any way I can get notification (preferably Gnome notification) when someone (privileged) is accessing my Samba/CIFS share? If there is no such a tool, I need to implement one. It's important ...
patryk.beza's user avatar
  • 1,229
1 vote
1 answer
362 views

I recently started working on sudo and i am trying to explore and understand the different aspects of sudo logging - I/O and audit. I'm using sudo 1.8.22 package on Red hat linux 6.7. Does sudo write ...
yellolion's user avatar

15 30 50 per page