user314090
user314090

Reputation:

Linux File Logs

I need to view a log of files that have been opened, surely there are logs stored for this, but I have not been able to find them in the /var/log/ directory.

Thanks, Dave

Upvotes: 2

Views: 120

Answers (2)

ericp
ericp

Reputation: 611

you can use 'lsof' to see what files your user has opened, per process id.

Upvotes: 0

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 798666

There is no such log by default. Use the audit subsystem to detect when files have been opened.

Upvotes: 1

Related Questions