3 ms·
What flags do you use when you just want to see the files that are being opened? I'm always grepping, but there must be an easier way.
by amelius 2y ago
What flags do you use when you just want to see the files that are being opened? I'm always grepping, but there must be an easier way.
- Amezarak 2y agostrace -e trace=open -f -p pid If you want to see all file-related calls, replace "open" with "file" or you could add the calls one by one: e.g., trace=open,read.