onprema

How to see what files get opened when you run a program on macOS

Run this command in a separate terminal while your program is running in a different one:

sudo fs_usage -f filesys | grep PROGRAM

Gold!

#devops #tools