mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 17:53:50 +02:00
strace: add example of tracing file operations (#1768)
This commit is contained in:
commit
8852a79cee
1 changed files with 4 additions and 0 deletions
|
@ -21,3 +21,7 @@
|
||||||
- Start tracing a program by executing it:
|
- Start tracing a program by executing it:
|
||||||
|
|
||||||
`strace {{program}}`
|
`strace {{program}}`
|
||||||
|
|
||||||
|
- Start tracing file operations of a program:
|
||||||
|
|
||||||
|
`strace -e trace=file {{program}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue