Trace file access strace

Find files the process tries to open but cannot find

strace -e trace=openat -e trace=file myapp 2>&1 | grep 'ENOENT'
more strace all 13 commands →