mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-12 00:58:48 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,12 +6,17 @@ 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 {{[-c|--current-mount]}} {{[-t|--timestamp]}}`
|
||||
`sudo fatrace {{[-ct|--current-mount --timestamp]}}`
|
||||
|
||||
Reference in New Issue
Block a user