Here is the lsof program which displays the files, sockets, etc… opened by programs; very useful for debugging and for getting clues about how an existing system works, where the configuration and logs files are, what port a daemon listens on, etc…
Here is the lsof program which displays the files, sockets, etc… opened by programs; very useful for debugging and for getting clues about how an existing system works, where the configuration and logs files are, what port a daemon listens on, etc…