Files
cheatsheet-tldr/tldr/linux/fatrace
2025-12-17 00:21:28 +00:00

23 lines
547 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# fatrace
> Report file access events.
> See also: `inotifywait`.
> More information: <https://manned.org/fatrace>.
- Print file access events in all mounted filesystems to `stdout`:
`sudo fatrace`
- Limit output to a program with a specific name:
`sudo fatrace {{[-C|--command]}} {{program_name}}`
- Print file access events on the mount of the current directory, with timestamps, to `stdout`:
`sudo fatrace {{[-ct|--current-mount --timestamp]}}`