Linux Tip- Files Open by a Process

There are plenty of times I’ve needed to debug something I’m running as a process on a *nix box and couldn’t/didn’t think to prefix the command with strace. Here’s a quick tip I find useful:
List the file descriptors in use by a process: