mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-13 09:48:07 +00:00
23 lines
547 B
Plaintext
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]}}`
|